Yussuf Posted May 27, 2011 Author Posted May 27, 2011 Yeah ! that's why I want ! and my question how ?
GameZoneX Posted May 27, 2011 Posted May 27, 2011 Yeah ! that's why I want ! and my question how ? What kind of functions? Some are in the meta.xml of the freeroam resource.
Yussuf Posted May 27, 2011 Author Posted May 27, 2011 Thanks . I did it ! Please , does any one know how to put the original HUD in the server ?
Castillo Posted May 27, 2011 Posted May 27, 2011 What do you mean by "original HUD"? the normal GTA:SA HUD is already showing if you don't hide it.
Yussuf Posted May 27, 2011 Author Posted May 27, 2011 No I didn't find it in the server ! There are no HUD !
karlis Posted May 28, 2011 Posted May 28, 2011 hes apparently running some res he doesn't know about.
karlis Posted May 28, 2011 Posted May 28, 2011 that some resource is running, and removing the hud try turning almost all res off(except the basic gamemode)
Yussuf Posted May 28, 2011 Author Posted May 28, 2011 Ok I will try ! thanks . But first,I would ask the server's admins , how can they put the original HUD in their servers !????
Yussuf Posted May 28, 2011 Author Posted May 28, 2011 But I said NO ! NoOoOo It's not by default ! I'm sure ! Okey !
karlis Posted May 28, 2011 Posted May 28, 2011 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.
Yussuf Posted May 28, 2011 Author Posted May 28, 2011 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 !?
karlis Posted May 28, 2011 Posted May 28, 2011 you can use showPlayerHudComponent(player,component,show)
Yussuf Posted May 28, 2011 Author Posted May 28, 2011 I didn't success ! Maybe I did a mistake ! Can any one give me the script to show the standard HUD !?
karlis Posted May 29, 2011 Posted May 29, 2011 stop ALL resources then start, only freeroam and play, and maapmanager, hud need to be there.
Yussuf Posted May 29, 2011 Author Posted May 29, 2011 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 ???
Castillo Posted May 29, 2011 Posted May 29, 2011 (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 May 30, 2011 by Guest
Castillo Posted May 30, 2011 Posted May 30, 2011 Copy the script again, I changed the timer to be 2,5 seconds.
Yussuf Posted May 30, 2011 Author Posted May 30, 2011 :) Thank you very muchhhhhhhhhhhhhhhhhhhh !!!!! :) It works ! :)
Yussuf Posted May 30, 2011 Author Posted May 30, 2011 Please,how can I delete players acocunt (data account) ??? (I'm the admin)
Baseplate Posted June 10, 2011 Posted June 10, 2011 Go to accounts.xml and then delete accs P.S:Please how much questions left wtf?! you're the question god??
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now