Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Question!


Name: sentry
Title:
  amxx
Question:
#include <amxmodx>
#include <engine>
#include <fun>
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>
#include <xs>

#if AMXX_VERSION_NUM < 183
     #define message_begin_f(%0,%1,%2,%3)     engfunc(EngFunc_MessageBegin,%0,%1,%2,%3)
     #define write_coord_f(%0)          engfunc(EngFunc_WriteCoord,%0)
     
     #include <dhudmessage>
#endif


native sh_set_hero ( id )
native give_shield_grenade ( id )


#define is_valid_player(%1) ( 1 <= %1 <= g_iMaxPlayers )
#define is_valid_team(%1) ( 0 < %1 < 3 )

#define is_entity_on_ground(%1) ( entity_get_int ( %1, EV_INT_flags ) 
Answers:

Name: goebbels
this is not C code, check sourcemod.net forums