Quote:
Originally Posted by Salaisuus
Like this?
if (actionserverenter) {
setlevel2 ihategscripts.nw,30,30;}
//#CLIENTSIDE
if (actionleftmouse && int(playerx)=<30) {
playerdir=0; unfreezeplayer; setani idle,; triggeraction playerx,playery,serverenter,;
}
|
PHP Code:
if (actionenter) {
setlevel2 ihategscripts.nw,30,30;
}
//#CLIENTSIDE
if (actionleftmouse && int(playerx)=<30) {
playerdir=0; unfreezeplayer; setani idle,; triggeraction x+1,y+1,enter,;
}
the action is supposed to happen to the npc, the way you had it is the only way it could work is if the playerx and playery were the same as the npc's x and y. this way it triggers it inside the npc no matter where the player is
understand now?
--- Edit ---
Oh wow , well ok theres another problem that i encountered while testing it... this is an odd one, but you can't have server as the begining word .... just put enter and actionenter