View Single Post
  #1  
Old 01-19-2006, 10:04 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Clientside player-joined class

Alright, people keep telling me that clientside portions of player-joined classes work.
I can't get them to.
Can anyone tell me what I'm doing wrong, or how to do it right? I've tried both 'function' and 'public function'
Nothing is happening.

PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
  
chat "Zomg";
}

public function 
Clamp(value,clamp) {
  
inc clamp 2;
  
nval value clamp;
  if (
nval >= incvalue += (clamp nval);
  else 
value -= nval;
  return 
value;

Reply With Quote