Quote:
|
Originally Posted by Matt
Add the script to WEAPONS through NPC Control. Then open a level and put a script such as this in it:
//#CLIENTSIDE
if (playertouchsme){addweapon weaponnamehere';}
You'll have to get to known the scripting commands better if you want it to go to your attributes when you say something like 'buy 'weaponname'. Also i don't think it's a good idea to use Clientside anyways.
If you want an NPC to be added to everyones attributes once they logon put this in Control-NPC:
if (actionplayeronline){addweapon 'weaponnamehere';}
|
addweapon does not work clientside. Please do not give bad advice.