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?