05.07.2010, 18:55
hey, is there a way to show a bot's name like a player's name is shown?
//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);
}