View Single Post
  #3  
Old 02-05-2004, 02:11 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
NPCW:

NPC Code:

if (serverside){
if (strequals(#p(0),a)){
with (getplayer(#p(1))){
setstring client.a,1;
}
}
if (strequals(#p(0),b)){
setplayerprop #c,Arg... How can you do this to me?!;
}
}
//#CLIENTSIDE
if (playerenters) timeout = 0.05;
if (timeout){
if (!strequals(#s(client.a),)){
setstring client.a,;
triggeraction 0,0,serverside,NPCW,b;
}
}
if (weaponfired){
triggeraction 0,0,serverside,NPCW,a,#a;
}



A short example... I don't know if you can do that to someone else, but well, this is a detour if you can't.
__________________
- Rance Vicious
Reply With Quote