15.08.2011, 17:55
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;
}