31.10.2012, 14:51
Add this top of the script
You can use PlayerID[playerid] to get anyones ID
pawn Код:
new PlayerID[MAX_PLAYERS];
pawn Код:
stock ConnectedPlayersIDs()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
PlayerID[i] = i;
}
}
return 1;
}