[Ajuda] ANTI-CRASH - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] ANTI-CRASH (
/showthread.php?tid=659774)
ANTI-CRASH -
EmerZZeT - 15.10.2018
este anti crash й funcional?
PHP код:
if (!(-35000.0 <= bulletData[PR_origin][0] <= 35000.0) || !(-35000.0 <= bulletData[PR_origin][1] <= 35000.0) || !(-35000.0 <= bulletData[PR_origin][2] <= 35000.0))
{
format(stringcheater,sizeof(stringcheater),"[ANTI-CRASH] %s (%d) й suspeito de bullet crash (Origem).", GetPlayerNameEx(playerid),playerid);
printf(stringcheater);
stringcheater[0] = EOS;
return false;
}
if (!(-35000.0 <= bulletData[PR_hitPos][0] <= 35000.0) || !(-35000.0 <= bulletData[PR_hitPos][1] <= 35000.0) || !(-35000.0 <= bulletData[PR_hitPos][2] <= 35000.0))
{
format(stringcheater,sizeof(stringcheater),"[ANTI-CRASH] %s (%d) й suspeito de bullet crash (Hit)", GetPlayerNameEx(playerid),playerid);
printf(stringcheater);
stringcheater[0] = EOS;
return false;
}
Re: ANTI-CRASH -
Cauezin - 15.10.2018
Uй .---.
Testa pra saber nй meu amigo ;--
Re: ANTI-CRASH -
XandyMello - 16.10.2018
Nгo tem necessidade de utilizar este cуdigo pois o prуprio sa-mp jб criou proteзгo contra isso na OnPlayerWeaponShot.
Portanto, й desnecessбrio utilizar pois o bullet crash nгo tem mais efeito nenhum.