Last active
August 29, 2015 14:07
-
-
Save hitmany/6d5c3d7e3a0f5045bbb3 to your computer and use it in GitHub Desktop.
Перебираем всех игроков сервера. Если у игрока полный антифлеш, отключаем ему флеш. Иначе если у игрока антифлеш на команду, отключаем ему флеш. Где проверка на то что они в одной команде?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while (i <= g_iMaxClients) | |
{ | |
if (g_bPlayerVip[i][0][0][9]) | |
{ | |
GetClientEyePosition(i, 4[fOrigin]); | |
AntiFlash_VectorDistance(i, fOrigin[0][fOrigin], 4[fOrigin]); | |
i++; | |
} | |
else | |
{ | |
if (g_bPlayerVip[i][0][0][8]) | |
{ | |
GetClientEyePosition(i, 4[fOrigin]); | |
AntiFlash_VectorDistance(i, fOrigin[0][fOrigin], 4[fOrigin]); | |
i++; | |
} | |
i++; | |
} | |
i++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment