This function was added in SA-MP 0.3a and will not work in earlier versions!
Check if a player is an actual player or an NPC.
|playerid||The ID of the player to check.|
1: The player is an NPC.
0: The player is not an NPC.
SendClientMessageToAll(-1, "An NPC connected!");
// The other code here won't be executed unless its a player