GamerDeMTA Posted June 25, 2013 Share Posted June 25, 2013 Hey! I need help... I want to do something like setting the HOUR to 23.00 for the player (only), he can do it only ONCE [each map]. How to? [also that when he says the bindKey for set the HOUR to 23.00, 20 seconds or 30s later, it returns to "18.00"]] Link to comment
iMr.3a[Z]eF Posted June 25, 2013 Share Posted June 25, 2013 i dont understand any words you says if you mean this getRealTime tell me Link to comment
Castillo Posted June 25, 2013 Share Posted June 25, 2013 You must use the function: setTime to set the time, then use a variable to define if he can use it again. Link to comment
GamerDeMTA Posted June 25, 2013 Author Share Posted June 25, 2013 I mean, how to do that if a player press "N", his Game Time sets to "23.00" only for him! But after 20 seconds it returns to "18.00". And you can do it one time by each map. Only 1. Link to comment
Castillo Posted June 25, 2013 Share Posted June 25, 2013 Functions: setTime -- To set the game time. setTimer -- To reset it after 20 seconds. onClientMapStarting Link to comment
GamerDeMTA Posted June 25, 2013 Author Share Posted June 25, 2013 and for make it you can do it ONLY 1 time per map? Link to comment
xXMADEXx Posted June 25, 2013 Share Posted June 25, 2013 and for make it you can do it ONLY 1 time per map? No, bind the key on the event "onClientMapStarting" Link to comment
GamerDeMTA Posted June 25, 2013 Author Share Posted June 25, 2013 but how to do that it Executes the function only 1 time per Map? If u alreadydid it in the currentliy map then it says an outputchatbox which says "You cannot do this!!" Link to comment
Castillo Posted June 25, 2013 Share Posted June 25, 2013 Define a variable, when they use it, set it to false, then when a new map starts, set it to true again. 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