Quote:
Originally Posted by falco10291029
yeh this is for setlevel2 but for some reason i cant get it to work if not in a wepon?
things like
if (actionserverside) {setlevel2 theplace.nw,2234,7980}
//clientw/e
if (weaponfired) {triggeraction 0,0,serverside,wepon}
but something like
if (actionserverside) {setlevel2 theotherplace.nw,3,-10}
//#CLIENTSIDE
if (w/e) {triggeraction 0,0,serverside,}
wont work (i kno the x and y in both are not able to work)
anyone know why?
|
You keep confusing yourself. Try reading this or the moderators will not be happy with you; (
http://forums.graal2001.com/forums/s...ad.php?t=53241)
Your triggeraction is missing the weapon name and the parameter. (if there is no parameter, just let it empty). Something similiar to:
NPC Code:
if(actionserverside){
setlevel2 level.nw,30,30;
}
//#CLIENTSIDE
if(weaponfired){
triggeraction 0,0,serverside,WARPER,;
}
Make sure to replace
WARPER by the name of the weapon; also you're missing the
; in the end of every execution line.