View Single Post
  #10  
Old 02-15-2004, 04:37 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally posted by Termina_Owner
NPC Code:

if (created){
setshape 1,32,32; // This is Vital
}
if (actionmove){
x = strtofloat(#p(0));
y = strtofloat(#p(1));
}
//#CLIENTSIDE
if (playerenters){
triggeraction x+0.5,y+0.5,move,#v(playerx),#v(playery);
}



Like that?

-- Avoid Repost:

NPC Code:

if (created){
setshape 1,32,32; // This is Vital
}
if (playerchats){
triggeraction x+0.5,y+0.5,clientside,move,5,5;
}
//#CLIENTSIDE
if (actionclientside){
x = strtofloat(#p(0));
y = strtofloat(#p(1));
}



Or that?
Why do you have 'move' after clientside? It's not a weapon npc, and you didn't use it as a param...
__________________
Reply With Quote