16.07.2018, 01:08
Eu tenho este Anti C-BUG, mas ele nгo estб funcionando. Serб mal configurado?
Agradeзo desde jб toda ajuda <3
Agradeзo desde jб toda ajuda <3
Код:
//if ((newkeys & KEY_CROUCH) && !(oldkeys & KEY_CROUCH)) if ((newkeys & KEY_FIRE) && (newkeys & KEY_CROUCH)) { // Anti C-BUG if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { if(GetPlayerWeapon(playerid) == 24) if(GetPlayerWeapon(playerid) == 25) if(GetPlayerWeapon(playerid) == 27) { //new Animacionn[32], Libreriaa[32]; //GetAnimationName(GetPlayerAnimationIndex(playerid), Libreriaa, sizeof(Libreriaa), Animacionn, sizeof(Animacionn)); //if(strcmp(Libreriaa,"PED") == 0 && strcmp(Animacionn,"GUN_STAND") == 0) //{ if(VariableCaido[playerid] == 0) { SetPlayerArmedWeapon(playerid, 0); ClearAnimations(playerid); TogglePlayerControllable(playerid,0); SetPVarInt(playerid, "IsFrozen", 0); SetTimerEx("DescongelarCBUG",1500,false,"d",playerid); } } } } }