25.04.2011, 22:17
NPC Problem!
25.04.2011, 22:28
pawn Код:
// top of script
new Text3D:BotNameHere[MAX_PLAYERS];
// onplayerspawn
if(!strcmp(npcname, "BotNameHere", true))
{
new Float:X, Float:Y, Float:Z; // GetPlayerPos floats
GetPlayerPos(playerid, X, Y, Z); // Getting player pos
BotNameHere[playerid] = Create3DTextLabel("BotNameHere",0x00FFFFFF,X, Y, Z,35.0,1);
Attach3DTextLabelToPlayer(BotNameHere[playerid],playerid,0,0,1.2);
return 1;
}
25.04.2011, 23:16
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)