05.07.2010, 19:03
Something like this?
pawn Код:
//OnPlayerSpawn:
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME],string[128];
GetPlayerName(playerid, npcname, sizeof(npcname));
format(string, sizeof(string), "A bot with the name: %s has just spawned", npcname);
SendClientMessageToAll(COLOR, string);
}