Help with adding 3Dtextlabel to a NPC
#1

ok i have made some NPC's and would like to add a 3Dtextlabel to them and it isnt working, i get my driver with NO plane standing out side driving school

Код:
	else if(!strcmp(playername,"Beagle",true)) {
	  new Text3D:Beagle = Create3DTextLabel("Beagledriver(ID:0)",COLOR_GREEN,30.0,40.0,50.0,40.0,0);
	  Attach3DTextLabelToVehicle(playerid, Beagle, 0, 0, 5);
      SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
	  PutPlayerInVehicle(playerid, Beagle, 0);
	}
  return 1;
}
and for some reason isnt working could you please help me
Reply
#2

Код:
Attach3DTextLabelToVehicle(playerid, Beagle, 0, 0, 5);
Use Attach3DTextLabelToPlayer
Reply
#3

when i do this i get and it dosent work

Код:
C:\Users\ELLIOT\Desktop\Elliots Stuff\PlayGround 3.4\filterscripts\MegaTransport.pwn(46) : warning 219: local variable "Beagle" shadows a variable at a preceding level
C:\Users\ELLIOT\Desktop\Elliots Stuff\PlayGround 3.4\filterscripts\MegaTransport.pwn(47) : warning 213: tag mismatch
C:\Users\ELLIOT\Desktop\Elliots Stuff\PlayGround 3.4\filterscripts\MegaTransport.pwn(47) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Reply
#4

Fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)