View Single Post
  #26  
Old 06-19-2004, 04:18 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
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.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /