Jump to content

[Help] improve server !


Yussuf

Recommended Posts

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

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

IT IS BY DEFAULT IM SURE MUCH MORE

or you are just getting black screen?

also check, didn't you turn hud off in gta singleplayer.

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
  • 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...