03.01.2013, 11:02
Thanks very much, it's works. And how can i send message for every player with automsg, when i got 2 languages in the server and need playerid for if(en[playerid] == 1).
Like :
With
players gets a lot of messages together. :/
Like :
pawn Код:
for(new playerid;playerid<MAX_PLAYERS;playerid++)
{
if(lt[playerid] == 1)
{
new randMSG = random(sizeof(RandomLT));
SendClientMessageToAll(0xFFFFFFFF, RandomLT[randMSG]);
}
if(en[playerid] == 1)
{
new randMSG = random(sizeof(RandomEN));
SendClientMessageToAll(0xFFFFFFFF, RandomEN[randMSG]);
}
}
pawn Код:
for(new playerid;playerid<MAX_PLAYERS;playerid++)