View Single Post
  #3  
Old 01-01-2011, 10:49 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
"//#Clientside" should be all caps, not sure if it matters but it really ought to be.

getCategories looks like a serverside function so you have to trigger to the serverside part of the script, then trigger back to clientside.

In order to do player.getCategories, it would have to be in a class joined to the player. You would still have to use it serverside.

edit: skyld beat me to it
__________________
Reply With Quote