Jump to content

Needing Help


Recommended Posts

Posted

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"]]

Posted

You must use the function:

setTime 

to set the time, then use a variable to define if he can use it again.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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.

Posted

Functions:

setTime -- To set the game time. 
setTimer -- To reset it after 20 seconds. 

onClientMapStarting 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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!!"

Posted

Define a variable, when they use it, set it to false, then when a new map starts, set it to true again.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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