![]() |
Warping with NPC server...
ok...I am sure it's been gone over before but how do I use an NPC to warp a player?
I have done NPC Code: in one NPC...and in the control-NPC I have NPC Code: What am I doing wrong? |
Re: Warping with NPC server...
Quote:
needs to be ...strtofloat(#p(1)), strtofloat(#p(2)); but I have not enough experience with NPC-Servers to get the other error (if there is one) edit: um could it be possible that NPC-Server doesn't know the players account if u trigger it? u Could use #a as a triggeraction param: triggeraction 0,0,#a,warp,olsl.nw,30,30; and read it out with #p(0) |
Re: Re: Warping with NPC server...
Quote:
|
Re: Re: Re: Warping with NPC server...
Quote:
|
You do need strtofloat( ) around the params, :(
But the other mistake is that you did not put "server" at the beginning of the action. triggeraction 0,0,serverwarp,olsl.nw,30,30; if (actionserverwarp) setlevel #p(0),strtofloat(#p(1)),strtofloat(#p(2)); |
Quote:
THANK YOU :D! |
| All times are GMT +2. The time now is 02:57 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.