Castillo Posted May 26, 2011 Share Posted May 26, 2011 You'll need to learn to do that. Link to comment
Yussuf Posted May 27, 2011 Author Share Posted May 27, 2011 Yeah ! that's why I want ! and my question how ? Link to comment
GameZoneX Posted May 27, 2011 Share 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. Link to comment
Yussuf Posted May 27, 2011 Author Share Posted May 27, 2011 Thanks . I did it ! Please , does any one know how to put the original HUD in the server ? Link to comment
Castillo Posted May 27, 2011 Share 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. Link to comment
Yussuf Posted May 27, 2011 Author Share Posted May 27, 2011 No I didn't find it in the server ! There are no HUD ! Link to comment
karlis Posted May 28, 2011 Share Posted May 28, 2011 hes apparently running some res he doesn't know about. Link to comment
Yussuf Posted May 28, 2011 Author Share Posted May 28, 2011 Sorry ! but what do you mean ? Link to comment
karlis Posted May 28, 2011 Share Posted May 28, 2011 that some resource is running, and removing the hud try turning almost all res off(except the basic gamemode) Link to comment
Yussuf Posted May 28, 2011 Author Share 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 !???? Link to comment
karlis Posted May 28, 2011 Share Posted May 28, 2011 pffft ORGINAL HUD IS ON BY DEFAULT Link to comment
Yussuf Posted May 28, 2011 Author Share Posted May 28, 2011 But I said NO ! NoOoOo It's not by default ! I'm sure ! Okey ! Link to comment
karlis Posted May 28, 2011 Share 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. Link to comment
Yussuf Posted May 28, 2011 Author Share 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 !? Link to comment
karlis Posted May 28, 2011 Share Posted May 28, 2011 you can use showPlayerHudComponent(player,component,show) Link to comment
Yussuf Posted May 28, 2011 Author Share 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 !? Link to comment
karlis Posted May 29, 2011 Share Posted May 29, 2011 stop ALL resources then start, only freeroam and play, and maapmanager, hud need to be there. Link to comment
Yussuf Posted May 29, 2011 Author Share 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 ??? Link to comment
Castillo Posted May 29, 2011 Share 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 Link to comment
Yussuf Posted May 29, 2011 Author Share Posted May 29, 2011 Thank you but it didn't work.... Link to comment
Castillo Posted May 30, 2011 Share Posted May 30, 2011 Copy the script again, I changed the timer to be 2,5 seconds. Link to comment
Yussuf Posted May 30, 2011 Author Share Posted May 30, 2011 :) Thank you very muchhhhhhhhhhhhhhhhhhhh !!!!! :) It works ! :) Link to comment
Yussuf Posted May 30, 2011 Author Share Posted May 30, 2011 Please,how can I delete players acocunt (data account) ??? (I'm the admin) Link to comment
Baseplate Posted June 10, 2011 Share 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?? Link to comment
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