View Single Post
  #12  
Old 01-23-2007, 09:56 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Triggering script:
HTML Code:
//#CLIENTSIDE
function onPlayerChats()
{
  temp.curToks = player.chat.tokenize();
  triggerserver("weapon", temp.curToks[0], temp.curToks[1]);
}
Finding script:
HTML Code:
function onActionServerside(curOption)
{
  echo(curOption);
}
Works perfect for me o-o

This also works too:
HTML Code:
//#CLIENTSIDE
function onPlayerChats()
{
  temp.curNPC = "CT";
  triggerserver("weapon", temp.curNPC, player.chat);
}
Am I not understanding what you're trying to do?
Reply With Quote