Name tag for bots
#5

pawn Код:
if(!strcmp(npcname, "AirCanada", true))
{  
    new string[128], Float:X, Float:Y, Float:Z, Text3D:playertextid;
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerName(playerid,npcname,sizeof(npcname));

    format(string,128,"%s (%d)",npcname,playerid);
    playertextid = Create3DTextLabel(playerid,string,COLOR_WHITE,X,Y,Z,40.0);
    Attach3DTextLabelToPlayer(playertextid, playerid, 0.0, 0.0, 1);
    return 1;
}
Jeffry
Reply


Messages In This Thread
[SOLVED]Name tag for bots - by grand.Theft.Otto - 15.08.2011, 17:32
Re: Name tag for bots - by Jeffry - 15.08.2011, 17:35
Re: Name tag for bots - by grand.Theft.Otto - 15.08.2011, 17:49
Re: Name tag for bots - by Libra_PL - 15.08.2011, 17:51
Re: Name tag for bots - by Jeffry - 15.08.2011, 17:55
Re: Name tag for bots - by grand.Theft.Otto - 15.08.2011, 18:08
Re: Name tag for bots - by iPLEOMAX - 15.08.2011, 18:27
Re: Name tag for bots - by grand.Theft.Otto - 15.08.2011, 18:38
Re: Name tag for bots - by iPLEOMAX - 15.08.2011, 18:57
Re: Name tag for bots - by grand.Theft.Otto - 15.08.2011, 19:06
Re: Name tag for bots - by Kingunit - 15.08.2011, 19:10
Re: Name tag for bots - by iPLEOMAX - 15.08.2011, 19:13
Re: Name tag for bots - by grand.Theft.Otto - 15.08.2011, 19:15

Forum Jump:


Users browsing this thread: 1 Guest(s)