View Single Post
  #5  
Old 07-11-2011, 02:59 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
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 View Post
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.
__________________
Reply With Quote