PHP Code:
public OnTouch(client, other)
{
for (new i = 0; i < 5; i++)
{
if ((1 <= client <= MaxClients) && !(GetEntityFlags(client) & FL_ONGROUND))
{
g_bCheckSurf[client] = true;
}
if ((1 <= other <= MaxClients) && !(GetEntityFlags(other) & FL_ONGROUND))
{
g_bCheckSurf[other] = true;
}
}
}
Why do you do this?
for (new i = 0; i < 5; i++)