Jump to content

How i make Casino Robbery


Recommended Posts

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

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