Showing Bot's name
#1

hey, is there a way to show a bot's name like a player's name is shown?
Reply
#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
#3

No i mean, on top of its head :P
all the time
Reply
#4

Use a 3DTextLabel then Go to the sa-mp wiki and you will see how it works
Reply
#5

:P Ok thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)