Thread: Player classes
View Single Post
  #1  
Old 11-06-2007, 01:06 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
Player classes

I am having trouble with player classes. I have asked many people, but they can't seem to find out whats wrong.
Heres my test scripts:

class 'playert1':
PHP Code:
//#CLIENTSIDE
function Test()
{
  
this.chat "test";

weapon 'Test':
PHP Code:
//#CLIENTSIDE
function onCreated()
  
player.join("playert1");

function 
onWeaponFired()
  
player.Test(); 
Now, alot of people told me not to join classes clientside, but I have tried joining the class serverside, when the player logs on, etc.
And it still didnt work. The problem is the class isnt being joined...
And idk why not, when I echo player.joinedclasses it only echoes startgui,
So, i'm not sure why the class isnt being joined. Any help?
Reply With Quote