Giferns

Results 6 comments of Giferns

@justgo97 so, for what reason we have CHECK_ISPLAYER(), CHECK_CONNECTED(), m_bMapHasBombTarget and m_bMapHasBombZone checks in the same function? According to your logic, then we need to check almost everything in plugins....

https://wiki.alliedmods.net/Half-Life_1_Game_Events#ScoreInfo

bad idea to touch it as it will break plugins that use this cvar

Compile your code and then decompile it via https://headlinedev.xyz/lysis/ You will see ``` new MaxClients; new MapName[64]; new String:NULL_STRING[4]; new Float:NULL_VECTOR[3]; Float:operator+(Float:,_:)(Float:oper1, oper2) { return floatadd(oper1, float(oper2)); } public plugin_init()...

amxx uses natives for float calculations. enum broke it somehow (X_AXIS is non-tagged so VecF[X_AXIS] interpreted as int value), and you got wrong result ``` #include public plugin_init() { new...

@justgo97 also you can replace ``` enum { X_AXIS = 0, Y_AXIS = 1, Z_AXIS = 2 } ``` by ``` enum { Float:X_AXIS = 0, Float:Y_AXIS = 1, Float:Z_AXIS...