Quote:
Originally Posted by cyan3
Maybe that was a bad example, this is the script somebody said will work.
PHP Code:
function onTimeout() {
if (playerenters) {
setTimer(0.5);
setani("sit",NULL);
}
}
My example was bad, you would call both as a different function if it's onCreated()
|
I don't mean to be rude, but you should definitely not be giving advice like that when you don't know quite what you're talking about.
Stuff like "if (playerenters)" is GS1, and makes no sense. The idea of coding is creating readable code that flows smoothly. Using stuff like that in combination with GS2 leads to messy code that is hard to follow.