![]() |
[!help!] Script isnt Warping the player
Ok, im makin a type of warpbook script for a server and it's just not warping the player to the spot. Im not sure if its the serverside section at the top that's messing it up or what, anyway heres the script. [NO STEALING =/]
PHP Code:
|
tokenize #s(PlayerWarps);
I'm not sure if the above is correct, but I believe tokenize (PlayerWarps); would work. |
NPC Code: Param 0 is "warpbook". You can't warp to level "warpbook" (it doesn't exist, guaranteed). Not only that, you have not specified params 1 or 2 (or 3) in the triggeraction. |
Quote:
tokenize #s(PlayerWarps) however, tokenizes the string PlayerWarps. |
For the PlayerWarps variable, you should probably make it a client. string or actually initialise it in the script.
Is the triggeraction actually getting called? I don't see any debugging going on serverside (like a sendtonc or so) to tell you if it's actually geting called. Also, sleeps kill timeouts. |
Off-topic: PLEASE make this script more secure before actually letting players use it.
|
good stuff, thanks, ill go back and redo some things.
|
| All times are GMT +2. The time now is 09:00 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.