papam77 Posted April 27, 2013 Posted April 27, 2013 Hello, how can make in my lobby move to arena ? I have button but i need for button function move to arena with dimension = 5 in gamemode called "[dm]"
xXMADEXx Posted April 27, 2013 Posted April 27, 2013 triggerServerEvent setElementPosition setElementDimension The Ultimate Lua Tutorial! | MTA PHP SDK
xXMADEXx Posted April 27, 2013 Posted April 27, 2013 And how can add gamemode to it ? Well, you can make the game mode work on "getElementData," such as: setElementData(player,"gamemode","deathmatch",true) then in the gamemode, you can check to see if the element's "gamemode" data is "deathmatch" before it does any functions... The Ultimate Lua Tutorial! | MTA PHP SDK
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