Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && weaponid == 24){
- fAutoC[playerid] ++;
- if(gettime() > GetPVarInt(playerid, "UmSegundo")){
- SetPVarInt(playerid, "UmSegundo", gettime() + 1);
- fAutoC[playerid] = 0;
- }else{
- if(fAutoC[playerid] > 2){
- Warnning[ playerid ] ++;
- format( str, sizeof str, "O player %s recebeu um warnning por suspeita de: Auto Cbug( %d/3 ).",PlayerName( playerid ), Warnning[ playerid ] );
- ABroadCast( COLOR_LIGHTRED, str, 1 );
- fAutoC[playerid] = 0;
- if( Warnning[ playerid ] >= 3 ){
- format( str, sizeof str, "• |BVO.RPG| • O player %s foi kickado por suspeita de: Auto Cbug", PlayerName( playerid ) );
- SendClientMessageToAll( COLOR_LIGHTRED, str );
- fAutoC[playerid] = 0;
- Warnning[ playerid ] = 0;
- Kick(playerid);
- }
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment