[Ajuda] Crash Dll. Script Slб - 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] Crash Dll. Script Slб (
/showthread.php?tid=576767)
Crash Dll. Script Slб -
ShOwD - 06.06.2015
Fala Galera.
Bom em Meu Servidor nesses ultimos tempos tem Um Arrombado Chamado de Zariche Crashando os Playerґs.
Por o que eu apurei eh aimCrash Mas nгo eh s o beit nem dos vulgares pq ja tenho proteзгo contra esses.
Ele diz ser uma dll.
Ele Nгo Crasha Nos Interiores.
Qd ele crasha aparece o dano sendo tirado do player na tela tipo [ -50]
Tem Algum Script Contra isso?
Versгo 0.3z-R4
Re: Crash Dll. Script Slб -
ShOwD - 06.06.2015
Quote:
Originally Posted by ShOwD
Fala Galera.
Bom em Meu Servidor nesses ultimos tempos tem Um Arrombado Chamado de Zariche Crashando os Playerґs.
Por o que eu apurei eh aimCrash Mas nгo eh s o beit nem dos vulgares pq ja tenho proteзгo contra esses.
Ele diz ser uma dll.
Ele Nгo Crasha Nos Interiores.
Qd ele crasha aparece o dano sendo tirado do player na tela tipo [ -50]
Tem Algum Script Contra isso?
Versгo 0.3z-R4
|
UP GALERA PF
Re: Crash Dll. Script Slб -
Pablo098 - 06.06.2015
Tenta utilizar isso:
PHP код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) {
if(hittype != BULLET_HIT_TYPE_NONE) { // Update 0.3.7
if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT))) {
return 0;
}
}
}
@edit
https://sampforum.blast.hk/showthread.php?pid=3477784#pid3477784
Re: Crash Dll. Script Slб -
ShOwD - 07.06.2015
Quote:
Originally Posted by PabLo98
Tenta utilizar isso:
PHP код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) {
if(hittype != BULLET_HIT_TYPE_NONE) { // Update 0.3.7
if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT))) {
return 0;
}
}
}
@edit
https://sampforum.blast.hk/showthread.php?pid=3477784#pid3477784
|
pawn Код:
public OnPlayerUpdate(playerid)
{
if(GetPlayerCameraMode(playerid) == 53)
{
new Float:kLibPos[3];
GetPlayerCameraPos(playerid, kLibPos[0], kLibPos[1], kLibPos[2]);
if ( kLibPos[2] < -50000.0 || kLibPos[2] > 50000.0 )
{
BanEx(playerid, "WeaponCrasher");
return 0;
}
}
return 1;
}
Este?
Re: Crash Dll. Script Slб -
Pablo098 - 07.06.2015
Quote:
Originally Posted by ShOwD
pawn Код:
public OnPlayerUpdate(playerid) { if(GetPlayerCameraMode(playerid) == 53) { new Float:kLibPos[3]; GetPlayerCameraPos(playerid, kLibPos[0], kLibPos[1], kLibPos[2]); if ( kLibPos[2] < -50000.0 || kLibPos[2] > 50000.0 ) { BanEx(playerid, "WeaponCrasher"); return 0; } } return 1; }
Este?
|
Quote:
Originally Posted by AndreLuiz
|
Acho que й este acima, й uma FilterScript.