Code:
if(get_user_team(i)==CS_TEAM_T)
PHP Code:
if(cs_get_user_team(i)==CS_TEAM_T)
cs_get_user_team returns the CS_TEAM constant. the other can get funky. But still should work....whatever reason....that should fix it. Apply that to all of those errors
line 266 - 268
Code:
origin[0] = 0;
origin[1] = 0;
origin[2] = -100000;
PHP Code:
origin[0] = 0.0;
origin[1] = 0.0;
origin[2] = -100000.0;
Floats REQUIRE the '.0' at the end. That's how the compiler/engine knows its a float, rather than an int.
__________________