28.11.2009, 17:12
Let's say you want to check if playerid 5 disconnects from the server, you'd use something like this:
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
if(playerid == 5)
{
print("the player who disconnected had the id 5");
}
else
{
print("the player who disconnected didn't have the id 5");
}
return 1;
}