added request at29591

This commit is contained in:
Borja Ferrer
2006-05-13 14:59:24 +00:00
parent 9a34c7931a
commit f7805623b0
2 changed files with 21 additions and 0 deletions

View File

@ -1061,3 +1061,9 @@ native get_pcvar_string(pcvar, string[], maxlen);
* Sets a whole array to a certain value.
*/
native arrayset(array[], value, size);
/**
* Returns the weapon id, otherwise -1 when no id found.
* The weapon name is case sensitive, and has the weapon_* form.
*/
native get_weaponid(const name[]);