![]() |
Help with event warpper
//#//#CLIENTSIDE
if (created || timeout) { showtext 13,16*17+8,500,Arial,br,Event: #s(server.eventon) - #s (server.event); changeimgzoom 120,44; changeimgvis 13,6; changeimgcolors 13,3,3,8,6; function onActionServerSide() { if (params[0] == "warp") setlevel2("onlinestartlocal.graal",30,30); } //#CLIENTSIDE function onMouseDown(mode) { if (mode == "right") triggerserver("gui", this.name, "warp"); } } |
Lol
|
You have //#CLIENTSIDE twice although one is //#//#CLIENTSIDE? Having the function onActionServerSide under //#CLIENTSIDE defeats the purpose of having it serverside. Since you have a setlevel2 under clientside, this will also not work.
http://forums.graalonline.com/forums...ad.php?t=69020 |
| All times are GMT +2. The time now is 03:06 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.