Quote:
|
Originally Posted by alissalee
can i add a weapon to the player though a lvl npc like buying items how would i do that the same way?
|
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';}