16.10.2010, 12:24
Hi,
I am trying to make a script that does the following:
when you type /strobe, it adds a 3d label to the roof of your car. If you type it again, it dissapears.
I have the following variables:
new Text3D: strobelabel[MAX_VEHICLES]; (space added to prevent emote)
new strobecar[MAX_VEHICLES];
and the following code:
http://pastebin.com/Dxszd0wG
The command is able to detect whether the strobes are set on or off, but no 3d labels actually spawn when you type it. Can anyone shed any light as to why this might be?
Thanks
Matt
I am trying to make a script that does the following:
when you type /strobe, it adds a 3d label to the roof of your car. If you type it again, it dissapears.
I have the following variables:
new Text3D: strobelabel[MAX_VEHICLES]; (space added to prevent emote)
new strobecar[MAX_VEHICLES];
and the following code:
http://pastebin.com/Dxszd0wG
The command is able to detect whether the strobes are set on or off, but no 3d labels actually spawn when you type it. Can anyone shed any light as to why this might be?
Thanks
Matt