![]() |
setlevel?
if setlevel does not work online, what should i use instead?
|
Quote:
|
sorry...I am using setlevel2 :\ doesn't work online
|
Quote:
|
:\ it hasn't worked yet, and my server has been online for some time now
|
You are doing something wrong then. Maybe paste your code.
|
here's the script i am currently using drwarp is my own gani for warping:
// NPC made by Excaliber (Manager) //#CLIENTSIDE if(playerenters){ toweapons Warp Rings/Warper1; hidelocal} if(weaponfired){ freezeplayer 2; play thunder.wav; setplayerdir 2; setani drwarp,; sleep .1; for (i=0;i<21;i++) { seteffect i/20,i/20,i/20,i/20;sleep .05} {sleep 1; seteffect 0,0,0,0; setlevel2 warper.nw,31,31;} } |
Quote:
Quote:
.................. LMAO @ post below That's freaky... the same exact post time, haha. |
Quote:
Quote:
You don't want toweapons with an NPC-Server. PHP Code:
|
i can't get it to work, try putting it directly into the script so i can see if im putting it in wrong :\
|
Quote:
setlevel2 works fine SERVERSIDE. You know, above the //#CLIENTSIDE line. |
ABOVE? AH HA! i'll try that thx =D i think i did already, but it can't hurt to try again :\
|
I'd script my weapons/npcs in the NPC server o.o
|
If it's below the //#CLIENTSIDE line, it's clientside.
If it's above the //#CLIENTSIDE line, it's serverside. To do things in the serverside, you have to send a triggeraction. The syntax is triggeraction 0,0,serverside,WEAPON NAME,params; This calls (actionserverside). And if you care about security.. It's only insecure if you're sending the level and x/y it's going to warp you to from the serverside. NPC Code://INSECURE NPC Code://SECURE With the first example, a hacker can modify the level and x/y it warps you to easily. With the second example, they can't modify the level and x/y it warps you to. |
nope :\ will someone just enter this into the code i already have here, so i can set it up? thx.
edit: he gets it (delete a post so he's not double posting) |
| All times are GMT +2. The time now is 04:33 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.