PI
The world on the edge of reality
PHP:
new animlib[30], animname[30] ;
GetAnimationName(GetPlayerAnimationIndex(playerid), animlib, sizeof(animlib), animname, sizeof(animname));
if(strcmp(animlib, "PED", true) == 0 && strcmp(animname, "RUN_PLAYER", true) == 0 && GetPlayerSkin(playerid) != 0)
{
new PlayerName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(string, sizeof(string), "[Античит]:%s кикнут за использование чита(CJ бег)!", PlayerName);
SendClientMessageToAll(0xFFFF00FF, string);
SendClientMessage(playerid,0xFFFF00FF, "Чтобы играть на нашем сервере вам необходимо удалить читы");
Kick(playerid);
