war vehicles textlabel - 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: war vehicles textlabel (
/showthread.php?tid=260615)
war vehicles textlabel -
Face9000 - 09.06.2011
Hi all,i wanna add at this vehicles:
Hunter,Hydra,Rhino,Sea Sparrow
the textlabel "War Vehicles".
How to do it?
Re: war vehicles textlabel - [L3th4l] - 09.06.2011
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToVehicle
- Search next time
- This is NOT a script request thread
Re: war vehicles textlabel -
Face9000 - 09.06.2011
Whyuraj?
I was asking for a tip,non a complete code.
Re: war vehicles textlabel -
Basicz - 09.06.2011
Errr.
pawn Код:
public OnGameModeInit( )
{
/* Your code on the top! */
for ( new i; i < MAX_VEHICLES; i ++ )
{
switch ( GetVehicleModel( i ) )
{
case /*Hunter ID, Rhino ID, Hydra ID, Seasparrow ID */ :
{
new Text3D: vehicle3Dtext; // From WIKI
vehicle3Dtext = Create3DTextLabel( "War Vehicles", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
Attach3DTextLabelToVehicle( vehicle3Dtext, vehicle_id, 0.0, 0.0, 2.0);
}
}
}
return 1;
}
Sorry for the indentation -.-
Re: war vehicles textlabel -
Face9000 - 10.06.2011
Thanks lol.