View Single Post
  #4  
Old 11-11-2006, 01:44 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
post the recieving at serverside?
PHP Code:
function onActionServerside()
{
  switch(
params[0])
  {
    case 
"test":
      
with(findplayer(params[1]))
        echo(
"My account is " player.account SPC "and I am bored.");
    break;
  }
}
//#CLIENTSIDE
function onPlayerChats()
{
  if (
player.chat == "/test")
  {
    
player.chat.tokenize();
    
triggerserver("gui"this.name"test"t[1]);
  }
}
// Just an example, I don't even know if it works, written directly 
Is it something like this?

btw, you can post some parts of the script that you think is wrong with the script tho
__________________
Reply With Quote