Open SurajBhari opened 5 years ago
You probably want something like:
#include <sourcemod>
#include <multi1v1>
#include <cstrike>
public void Multi1v1_AfterPlayerSetup(int client) {
int arena = Multi1v1_GetArenaNumber(client);
if (arena > 0) {
int roundType = Multi1v1_GetCurrentRoundType(arena);
char roundTypeName[64];
Multi1v1_GetRoundTypeDisplayName(roundType, roundTypeName, sizeof(roundTypeName));
PrintCenterText(client, "Round type: %s", roundType);
}
}
It doesnt seem to work , no error in logs it just prints
Round type:
should be a problem with native itself
There could be a bug with it - but I don't see anything from quickly looking at the code.
so i am not so good at coding and all , maybe cuz i am too young for it '=' so i just wanted a plugin which just tell which round is being played in their arena but its not working out can you just tell me whats wrong or maybe merge it