Quote:
Originally Posted by cyan3
if (playerenters) can be used if you've already called a function.
PHP Code:
//#CLIENTSIDE function onCreated() { if (playerenters) { //Stuff } }
|
That's mixing GS1 and GS2, which is bad.
Also for future note you shouldn't have to call onCreated or onPlayerEnters unless you're re-initializing your script for whatever reason.
I.e:
PHP Code:
function whatever() {
// whatever "calls" onCreated();
onCreated();
}
Edit: lol, two negative verdicts.