Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new AnimLib[30], AnimName[30];
- GetAnimationName(GetPlayerAnimationIndex(playerid), AnimLib, sizeof(AnimLib), AnimName, sizeof(AnimName));
- if(SpeedVehicle(playerid) > 400 && strcmp(AnimLib, "SWIM", true) == 0 && strcmp(AnimName, "SWIM_crawl", true) == 0)
- {
- NewKick(playerid); // Кикаем игрока, можно изменить на другое действие
- SendClientMessage(playerid, COLOR_LIGHTRED, "Вы были кинуты по подозрению в читерстве (#15)");
- new mes[135];
- format(mes,sizeof(mes),"%s был кикнут [Speed-Hack]",pData[playerid][pNickname]);
- AdminChat(CORANGE,mes);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement