05.04.2011, 18:28
why don't you just try it? lol
well it will work however I'd suggest you to use "IsPlayerConnected" in the loop, too..
like this:
well it will work however I'd suggest you to use "IsPlayerConnected" in the loop, too..
like this:
pawn Код:
if(strcmp(cmd,"/back",true) == 0)
{
if(PlayerInfo[playerid][pCop] < 1) return SendClientMessage(playerid,COLOR_AFOR,"idiot !");
if(PlayerInfo[playerid][pCop] > 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pCop] > 0 && i != playerid)
{
SendClientMessage(i,COLOR_BLUE,"Wassaup nigga!");
}
}
}
}
return 1;
}