Showing Bot's name
#2

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);
}
Reply


Messages In This Thread
Showing Bot's name - by aNdReSk - 05.07.2010, 18:55
Re: Showing Bot's name - by Fj0rtizFredde - 05.07.2010, 19:03
Re: Showing Bot's name - by aNdReSk - 05.07.2010, 19:05
Re: Showing Bot's name - by Fj0rtizFredde - 05.07.2010, 19:10
Re: Showing Bot's name - by aNdReSk - 05.07.2010, 19:11

Forum Jump:


Users browsing this thread: 1 Guest(s)