In the future you can use the
/scripthelp <term> command on RC to find the name of a variable.
Quote:
|
Originally Posted by /scripthelp online
Script help for 'online':
TServerPlayer.onlinetime - integer - total time the player has played on the server, in seconds
|
Your statement is wrong. From a post I made in another of your threads:
Quote:
Originally Posted by cbk1994
The first line is of an if-statement does not need a semicolon as it is not a command, it's a condition.
If you'd read the guide linked to you, you'd see that the proper syntax for an if-else statement is:
PHP Code:
if (condition) {
// do something
} else {
// do something else
}
|
It's frustrating and severely trying my patience to have to give you the same advice multiple times. It's becoming more and more apparent that you're not interested in learning, only in getting your scripts to work. If you keep this up, eventually nobody will respond to your threads as they'll know you don't really want to be able to script.