Bluntz-X Posted May 11, 2014 Share Posted May 11, 2014 hi all anybody tell me how i make casino robbery which element and function i use just like a saur casino robbery pls anybody tell me Thanks in advance Link to comment
Karoffe Posted May 11, 2014 Share Posted May 11, 2014 setElementData -- To set everyone's data when he enters the casino -- and to set the one who dies data to prevent him of entering again -- and to make a data for the kills removeElementData -- To remove the player's data when he leaves or die or disconnect getElementData -- To check if he has the data -- to get the player kills setPedArmor -- Loop through all player's if they have the data required then set their armor setTimer -- Set timer for the casino rob getTimerDetails -- If somebody wants to check how much time left for the casino rob "onPedWeaponSwitch" - getPedWeaponSlot - setPedWeaponSlot -- To prevent people of using grenades "onPlayerDamage" - cancelEvent -- To prevent cops of killing cops or criminals of killing criminals while in casino rob Sure those aren't all the function you will need but the necessary... those all are server-side functions. you will have to make a DxText or a GUI to display player's kill. Good luck.. 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