updated header | readded double include prevention

This commit is contained in:
Felix Geyer
2004-02-21 20:30:04 +00:00
parent 16d8a7a210
commit 87b4d3570f
15 changed files with 287 additions and 213 deletions

View File

@ -1,9 +1,14 @@
/* Fun functions
*
* (c) 2004, the AMX Mod X Development Team
*
* This file is provided as is (no warranties).
*/
*
* by the AMX Mod X Development Team
*
* This file is provided as is (no warranties).
*/
#if defined _fun_included
#endinput
#endif
#define _fun_included
/* (untested) Returns 1 if receiver hears sender via voice communication. */
native get_client_listen(receiver, sender);
@ -33,21 +38,21 @@ native set_user_origin(index, origin[3]);
native set_user_rendering(index, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16);
/* Gives item to player, name of item can start
* with weapon_, ammo_ and item_. This event
* is announced with proper message to all players. */
* with weapon_, ammo_ and item_. This event
* is announced with proper message to all players. */
native give_item(index, const item[]);
/* (not yet implemented, don't know how to use native)
* Sets hit zones for player. This event is announced
* with proper message to all players.
* Parts of body are as bits:
* 2 - head
* 4 - chest
* 8 - stomach
* 16 - left arm
* 32 - right arm
* 64 - left leg
* 128 - right leg */
* Sets hit zones for player. This event is announced
* with proper message to all players.
* Parts of body are as bits:
* 2 - head
* 4 - chest
* 8 - stomach
* 16 - left arm
* 32 - right arm
* 64 - left leg
* 128 - right leg */
native set_hitzones(body = 255);
/* backwards compatibility */
@ -97,4 +102,4 @@ native get_user_noclip(index);
/* Gives player silent footsteps.
* if set = 0 it will return footsteps to normal */
native set_user_footsteps(id, set = 1);
native set_user_footsteps(id, set = 1);