Hello, i’ve finally posted here because i need a little help from you guys 
I don’t really know much about c++, so im writing in lua, its easier for me 
Ok back to the topic, i was wondering how can i use lua function:
for ex.
et.gentity_set(clientNum, "ps.ammoclip", WEAPON_ID, AMOUNT)
I know how to change ammoclip and reserve ammo from other scripts i saw but what im asking for is if there is someone who could explain to me from where can i get some new ‘functions’ for this, like this i saw while exploring wolf:et source bg_misc:
// MAX USES MAX START START RELOAD FIRE NEXT HEAT, COOL, MOD, ...
// AMMO AMT. CLIP AMMO CLIP TIME DELAY SHOT
It would be great if its possible to for ex. change fire delay or next shot values of weapons, or change maxclip permanently. As i said i can’t do this in C++, because i don’t have source files of nq mod, only option is to write lua script for it but i need to know how to use this function, wikia say’s
et.gentity_set( entnum, Fieldname, arrayindex, (value) )
Sets the value of Fieldname from entity entnum in the g_entity struct to (value)
arrayindex is used to specify which element of an array entity field to set.
I was looking through whole source for that g_entity file but i can’t find it. I don’t know maybe im not so smart as u guys to understand it well, so i can read it wrong.
Any help will be appreciated 
Thanks in advance!
P.S. Sorry if topic tittle is wrong its my first post here.

