SA-MP Forums Archive
Deleting a 3d vehicle text - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Deleting a 3d vehicle text (/showthread.php?tid=119807)



Deleting a 3d vehicle text - Mattjones17 - 09.01.2010

Hi,
Im using the following code to attach a text to a bus that tells you where its going

http://pastebin.com/m2360196a

As an example, I've set up the first two to work (the others wont work properly I realise , its just a copy+paste atm). Basically when i input option 0 , 3dtext bayliner_401 is created and attached to the players vehicle. I want it so that when they input option 1, northern_10 is created and attached to the players vehicle, then bayliner_401 is deleted. But this sadly doesnt work. It just creates another one over it.

Any help would be much appreciated.

Thanks
Matt