View Single Post
  #3  
Old 01-15-2002, 12:18 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Re: Re: Warping with NPC server...

Quote:
Originally posted by TDO2000


setlevel2 #p(0),#p(1),#p(2); <-- there is something wrong in it (that would only affect the x and y of the player)

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)
Thanks...when it reads #p(index) it should read it as whatever it is...I don't think it would make any difference, but I'll try it later
__________________
Reply With Quote