View Single Post
  #8  
Old 02-15-2004, 08:24 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
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?
__________________
- Rance Vicious
Reply With Quote