![]() |
Warpto
I just really got into NPC Server scripting and I need a little help, I can't get this NPC to warp and can someone tell me if they see any errors in this script:
if (playerchats&&startswith(Warp,#c)) {tokenize #c; warpto #t(1),strtofloat(#t(2)),strtofloat(#t(3)); } BTW: Yes I had it added in the NC correctly |
I thought warpto was just x,y stuff. Also is this a weapon or a level based NPC?
|
This might help.
I dont know if this would help, but it should.
if (playerchats&&startswith(Warp,#c)) { tokenize #c; if (tokenscount==4) { warpto #t(1),strtofloat(#t(2)),strtofloat(#t(3)); } } |
I figured it out awhile ago...I had forgot to put the canwarp or canwarp2, forgot which one it was
|
Very odd.
|
| All times are GMT +2. The time now is 04:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.