Thread: Gs1/gs2?
View Single Post
  #5  
Old 03-03-2007, 09:03 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by theHAWKER View Post
so if gs2 is newer then why is it more complex like instead of "if" u use function?
it seams like a downgrade...
does it have more posiblilitys or something?
If's should not exist outside of a function or procedure in any language.

Besides, you cant "call" if (created), HOWEVER, this becomes possible in gs2

PHP Code:
function onPlayerChats() {
  if(
player.chat == "init")
    
onCreated();

__________________
Reply With Quote