![]() |
Warp script isnt working.
I cant seem to get this script to work. As a level NPC it wont work, but when i use it as a WNPC, it will. (though i need it as a level npc)
When I use it as a level NPC, it cant seem to get through to the serverside action. What am i doing wrong? PHP Code:
|
You don't need a trigger for that.
PHP Code:
|
Well, quick glance over:
if (player.chat = "Testdestination") { =, is an assignment i.e: a = 1; ==, is a comparison. i.e: player.chat == "yes!"; You should be doing comparisons in if statements. Also I would recommend just setting: client.destination = "Test destination"; Instead of setting actual level coordinates that could easily be changed with a memory editor, then on the serverside you'd have to a simple check. PHP Code:
|
Quote:
|
All times are GMT +2. The time now is 12:26 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.