View Single Post
  #1  
Old 08-07-2010, 12:11 AM
Jiroxys7 Jiroxys7 is offline
Hazard to Graal
Jiroxys7's Avatar
Join Date: Apr 2009
Posts: 343
Jiroxys7 will become famous soon enough
Can't join classes.

I've done this in the past. so perhaps I just forgot how to join the classes. But it's not working. Is this correct?:

NPC:
PHP Code:
//#CLIENTSIDE
function onCreated(){
  
player.join("player_classtest"); 
  
player.chat "Class should be joined now";

Class player_classtest:
PHP Code:
//#CLIENTSIDE
function onPlayerchats(){
  if(
player.chat == "/testclass"){
    
player.chat "It works!";
    echo(
"It really works!");
  }

What am I doing wrong this time?
__________________
MY POSTS ARE PRONE TO EDITS!
Reply With Quote