
02-05-2004, 02:22 AM
|
|
Scripter
|
 |
Join Date: May 2003
Location: NYC
Posts: 553
|
|
Quote:
Originally posted by Termina_Owner
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.
|
should be if (actionserverside) and also you can use callnpcs or do a triggeraction and add in the acct as a param and check if the person has that account. |
__________________
|
|
|
|