Liberty Unleashed
Scripting => Script Help => Topic started by: Mido_Pop on January 08, 2013, 03:15:25 pm
-
how to make function like this ?
function onPlayerExitServer( player )
{
return 1;
}
or
function onPlayerDisconnect( player )
{
return 1;
}
-
yes Svenko thanks
-
Hey Help ;D
how to make Radar blips for all vehicles i need for 9 Vehicles only . but how ?
-
Hey Help ;D
how to make Radar blips for all vehicles i need for 9 Vehicles only . but how ?
just configure a vehicle variable, and add the blip, just like this:
function onScriptLoad()
{
local vehicle1 = CreateVehicle( VEH_INFERNUS, Vector( 226, 7263, 723 ), 90, -1, -1 ), vehicle2 = CreateVehicle( VEH_INFERNUS, Vector( 226, 7263, 723 ), 90, -1, -1 ), vehicle3 = CreateVehicle( VEH_INFERNUS, Vector( 226, 7263, 723 ), 90, -1, -1 ); //And so on
CreateBlip( BLIP_8BALL, vehicle1.Pos );
CreateBlip( BLIP_8BALL, vehicle2.Pos );
CreateBlip( BLIP_8BALL, vehicle3.Pos ); //And so on
}
-
ok thanks :-\
-
what is the command to make this >>
(http://img825.imageshack.us/img825/6215/43792052.png)
-
Nice screenie from my server, teehee.
Anyway, here you go:
jak <- GUIWindow( VectorScreen( 0.32*ScreenWidth, 0.12*ScreenHeight ), ScreenSize( 240.0, 105 ), "LOL" );
jak.Colour = Colour( 0, 0, 0 );
jak.Titlebar = false;
jak.Transparent = false;
hbar <- GUIProgressBar( VectorScreen( 0, 0 ), ScreenSize( 192.5, 20 ) );
hbar.StartColour = Colour(255,255,255);
hbar.EndColour = Colour(0,0,0);
hbar.MaxValue = 100;
jak.AddChild( hbar );
Here jak is the window and hbar the bar. Pretty simple..
-
xD :D :D :D thanks
-
Beware, it's clientside, so you need to add client="1" for this script (in Scripts.xml).
-
i know it's so easy xD . :o
function onScriptLoad( )
{
SetHUDItemEnabled( HUD_WANTED, false );
}
:o :o
-
i know it's so easy xD . :o
function onScriptLoad( )
{
SetHUDItemEnabled( HUD_WANTED, false );
}
:o :o
You cant use that in onScriptLoad... try on onClientSpawn
-
i know it's so easy xD . :o
function onScriptLoad( )
{
SetHUDItemEnabled( HUD_WANTED, false );
}
:o :o
You cant use that in onScriptLoad... try on onClientSpawn
No, it's work with onScriptLoad ;)
Thank's for this script HUD HIDDEN <3
-
i know it's so easy xD . :o
function onScriptLoad( )
{
SetHUDItemEnabled( HUD_WANTED, false );
}
:o :o
You cant use that in onScriptLoad... try on onClientSpawn
No, it's work with onScriptLoad ;)
Thank's for this script HUD HIDDEN <3
Didn't know that, thanks for the advice!