20/09/2022 22:53
(Esta mensagem foi modificada pela última vez a: 20/09/2022 23:03 por RosaScripter.)
Estou tentando achar o aviso do Crashdetect porém não encontro nada relacionado, Gamemode compilando de boas mas esses avisos tá me dando agonia
https://cdn.discordapp.com/attachments/1...nknown.png
https://cdn.discordapp.com/attachments/1...nknown.png
Código PHP:
public RecuperandoVida(playerid)
{
new Float:vida;
GetPlayerHealth(playerid, vida);
SetPlayerHealth(playerid, vida + 25);
GameTextForPlayer(playerid, "~r~Recuperacion...", 15000, 3);
if(vida >= 100)
{
GameTextForPlayer(playerid, "~g~Estas Recuperado!", 1000, 3);
SetPlayerHealth(playerid, 100);
KillTimer(KillHos[playerid]);
TogglePlayerControllable(playerid, 1);
ClearAnimations(playerid, 0);
TaHospital[playerid] = 0;
KillTimer(RecuperandoVida(playerid));
return 1;
}
return 1;
}
Código PHP:
forward CheckCheat(playerid);
public CheckCheat(playerid)
{
new Anime;
Anime = GetPlayerWeapon(playerid); // otimizado
if(antiskin == 1)
{
if(Anime != WEAPON_PARACHUTE && GetPlayerAnimationIndex(playerid) == 974) return KickPlayerC(playerid, "Skin Bug");
if(Anime != WEAPON_PARACHUTE && GetPlayerAnimationIndex(playerid) == 972) return KickPlayerC(playerid, "Skin Bug");
if(Anime != WEAPON_PARACHUTE && GetPlayerAnimationIndex(playerid) == 968) return KickPlayerC(playerid, "Skin Bug");
}
if(antifly == 1)
{
if(Anime != WEAPON_PARACHUTE && GetPlayerAnimationIndex(playerid) == 959) return KickPlayerC(playerid, "Fly");
if(Anime != WEAPON_PARACHUTE && GetPlayerAnimationIndex(playerid) == 958) return KickPlayerC(playerid, "Fly");
if(!IsPlayerInWater(playerid) && GetPlayerAnimationIndex(playerid) == 1539) return KickPlayerC(playerid, "Fly");
if(!IsPlayerInWater(playerid) && GetPlayerAnimationIndex(playerid) == 1538) return KickPlayerC(playerid, "Fly"); // novo anin que anti fly pega
}
if(antijetpack == 1)
{
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
{
if(!IsPlayerAdmin(playerid))
{
//SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);// aqui ele so vai retirar a jetpack so players logados na RCON pode ter jetpack
KickPlayerC(playerid, "JetPack Hack");
}
}
}
return 1;
}