13.01.2013, 14:35
Ok my NPC spawns and I have added a 3D Text Label over the NPC. However I cannot see the 3D Text Label.
pawn Код:
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
{
PutPlayerInVehicle(playerid, MyFirstNPCVehicle, 0);
new Text3D:Motherdog = Create3DTextLabel("[BOT]Motherdog", 0x33AA33FF, 10.0, 20.0, 20.0, 20.0, 0);
Attach3DTextLabelToPlayer(Motherdog, playerid, 0.0, 0.0, 0.3);
}
return 1;
}
return 1;
}