|
Veteran Member
Join Date: Jan 2004
Location: Tokyo
|
03-29-2004
, 04:00
|
#12
|
Quote:
Originally Posted by devicenull
Ok..
Quote:
/* Beginning of pvPrivate manipulation. */
/* Integers */
native get_private_i(index,Offset)
native set_private_i(index,Offset,Value)
/* Floats */
native Float:get_private_f(index,Offset)
native set_private_f(index,Offset,Float:Value)
native register_impulse(impulse, svCommand[],extra=0)
native takedamage (idVictim,idInflictor,idAttacker,Float:damage ,damagetype);
native get_class(index);
|
Look at the stuff Ns2AMX has..
the *_private stuff would really be useful
register_impulse works the same as register_concmd - except it catches impulses
Takedamage does the specifed amount of damage - useful for NS because "kill" is blocked in some cases - meaning slay doesnt work
get_class returns a number representing the players class
|
The privates are already in engine since first release.
|
|
|
|