Jump to content

[Help] improve server !


Yussuf

Recommended Posts

Posted

You'll need to learn to do that.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Posted
Yeah ! that's why I want ! and my question how ?

What kind of functions? Some are in the meta.xml of the freeroam resource.

blue2.png

I'm still looking for some scripters for my server, because i am learning it and i'm not good in LUA scripting yet.

Posted

What do you mean by "original HUD"? the normal GTA:SA HUD is already showing if you don't hide it.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Ok I will try ! thanks .

But first,I would ask the server's admins , how can they put the original HUD in their servers !????

Posted

The first time when i started my own server , I didn't find it :(

and in the singleplayer , there are no problem !

What's the sollution !? :(

Posted

Please , I have other questions :

1-Standard Hud.....

2-When player die , he lost his weapon ! I want disable it ! how ?

3- I want that players colors (in chatbox/radar) be assigned by color's gang ! if they didn't join any gang , the default color is white ! how can I do it ???

Posted (edited)
function onPlayerWastedRestoreWeapons(ammo, killer) 
for i=0,12 do 
local weapon = getPedWeapon(source,i) 
local ammo = getPedTotalAmmo(source,i) 
setTimer(giveWeapon,2500,1,source,weapon,ammo,true) 
  end 
end 
addEventHandler("onPlayerWasted",getRootElement(),onPlayerWastedRestoreWeapons) 

<meta> 
    <info author="Castillo" type="script" name="restore weapons on wasted." /> 
    <script src="server.lua" /> 
</meta> 

Try that, it should work (not tested).

Edited by Guest

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Copy the script again, I changed the timer to be 2,5 seconds.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...