added amb595, eye position and angle natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401225
This commit is contained in:
Borja Ferrer
2007-07-31 02:08:25 +00:00
parent 4a6a016790
commit d05a57fcba
6 changed files with 132 additions and 14 deletions
+10
View File
@@ -40,3 +40,13 @@ native SetClientViewEntity(client, entity);
* @error Light style index is out of range.
*/
native SetLightStyle(style, const String:value[]);
/**
* Returns the client's eye position.
*
* @param client Player's index.
* @param pos Destination vector to store the client's eye position.
* @noreturn
* @error Invalid client index, client not in game, or no mod support.
*/
native GetClientEyePosition(client, Float:pos[3]);
+10
View File
@@ -104,6 +104,16 @@ native ForcePlayerSuicide(client);
*/
native SlapPlayer(client, health=5, bool:sound=true);
/**
* Returns the client's eye angles.
*
* @param client Player's index.
* @param ang Destination vector to store the client's eye angles.
* @noreturn
* @error Invalid client index, client not in game, or no mod support.
*/
native GetClientEyeAngles(client, Float:ang[3]);
/**
* @deprecated
*/