Thread: Callweapon
View Single Post
  #2  
Old 07-11-2002, 02:00 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
its like triggeraction. only less complicated. and geared twards playerweapons.
callweapon weaponindex,flag;
so if I call my selected weapon with the flag "sayhi"
NPC Code:

callweapon selectedweapon,sayhi;



and in the weapon I have

NPC Code:

if(sayhi) {
setplayerprop #c,Hi!;
}



I will say hi when I call the weapon.
__________________

subliminal message: 1+1=3
Reply With Quote