View Single Post
  #13  
Old 01-23-2007, 10:00 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Chandler View Post
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?
Hmm, I think you found it :] Thanks
( 'weapon' instead of 'gui', will check if it works on my server)
__________________
Reply With Quote