02.09.2016, 18:49
Hey i made a arena command and when someone joins it should send a message to everyone about how much players are in the arena but it doesnt work look
PHP код:
new Participants[MAX_PLAYERS];
new bool:InArena[MAX_PLAYERS char];
CMD:arena(playerid, params[])
{
InArena[playerid] = true;
new string[90];
format(string,sizeof(string),"[ARENA]: %s(%d) has joined The Arena [%i Participants]",GetName(playerid),Participants);
Participants[playerid] ++;
SendClientMessageToAll(-1,string);