Thread: joining classes
View Single Post
  #12  
Old 12-29-2005, 01:16 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
This is your 23rd thread in the NPC Scripting forums that I have counted asking for help, and still, you do not read what people say. This annoys me, and others, so please learn to read what is said when people try to help.

What ApothiX says is correct. Add your parameters to the triggeraction (#v(mousex) and #v(mousey)). For example.
PHP Code:
triggeraction 0,0,serverside,MyWeapon,place,#v(mousex),#v(mousey); 
... and read them on the serverside using strtofloat(#p()). For example.
PHP Code:
if (actionserverside)
{
  if (
strequals(#p(0),place))
  
{
    
putnpc2 strtofloat(#p(1)),strtofloat(#p(2)),join classname;
  
}

__________________
Skyld
Reply With Quote