mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 06:48:04 +03:00
Removed money natives, cs set deaths native.
This commit is contained in:
parent
79912dea1b
commit
3a00c4e3b0
@ -618,9 +618,7 @@ AMX_NATIVE_INFO fun_Exports[] = {
|
||||
/******************************************************************************************/
|
||||
void PlayerPreThink(edict_t *pEntity)
|
||||
{
|
||||
int index = ENTINDEX(pEntity);
|
||||
|
||||
if (silent[index]) {
|
||||
if (silent[ENTINDEX(pEntity)]) {
|
||||
pEntity->v.flTimeStepSound = 999;
|
||||
RETURN_META(MRES_HANDLED);
|
||||
}
|
||||
|
@ -87,7 +87,6 @@ pfnmodule_engine_g* g_engModuleFunc; // These seem to be meta/amxmod related
|
||||
#define HITGROUP_RIGHTARM 5
|
||||
#define HITGROUP_LEFTLEG 6
|
||||
#define HITGROUP_RIGHTLEG 7
|
||||
|
||||
// Fun-specific defines above
|
||||
|
||||
// Globals below
|
||||
|
@ -1,15 +1,10 @@
|
||||
/* Fun functions
|
||||
*
|
||||
* by the AMX Mod X Development Team
|
||||
* (c) 2004, 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);
|
||||
|
||||
@ -78,12 +73,6 @@ native set_user_gravity(index, Float:gravity = 1.0);
|
||||
/* Returns users gravity. */
|
||||
native get_user_gravity(index);
|
||||
|
||||
/* Gives money to user. */
|
||||
native set_user_money(index, money, flash = 1);
|
||||
|
||||
/* Returns users money. */
|
||||
native get_user_money(index);
|
||||
|
||||
/* Spawns entity. */
|
||||
native spawn(index);
|
||||
|
||||
@ -91,9 +80,6 @@ native spawn(index);
|
||||
stock user_spawn(index)
|
||||
return spawn(index)
|
||||
|
||||
/* CS: Set deaths(should be removed to CS module later) (doesn't update info right away? fix later?) */
|
||||
native set_user_deaths_cs(index, newdeaths);
|
||||
|
||||
/* Sets player noclip. If you want to disable noclip set only first parameter. */
|
||||
native set_user_noclip(index, noclip = 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user