SA-MP Forums Archive
[Ajuda] BR- Escudo- Shield- BUG {Tiro Passando-shot through} - 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] BR- Escudo- Shield- BUG {Tiro Passando-shot through} (/showthread.php?tid=365149)



BR- Escudo- Shield- BUG {Tiro Passando-shot through} - davi54723 - 02.08.2012

Hello guys, I am Brazilian, I want to know how do I fix this command does not know configure script filter'm beginner just know the command to change ...
I have a shell here, just when he will defend the shot goes ..
Can anyone help me?
----------------------------------------------------------------------------------------------------------
Olб galera, sou brasileiro, quero saber como que eu faзo para arrumar esse comando nгo sei configurar filter script sou iniciante sу sei mudar os comando...
Eu tenho um escudo aqui, sу que quando ele vai defender os tiro passa..
Alguйm pode me ajudar?

Esse й oque eu uso:



Galera, arrumem isso e me mande pronto pois eu nгo sei modificar.
Caso tenham MSN me adc.

personal things, organize it and send me ready for change I do not know.
If I have MSN adc.

DAVITELES10@HOTMAIL.COM


Respuesta: BR- Escudo- Shield- BUG {Tiro Passando-shot through} - [JD]BlackFire - 02.08.2012

o objeto escudo da pm passa os tiros mesmo.


Re: BR- Escudo- Shield- BUG {Tiro Passando-shot through} - davi54723 - 02.08.2012

Nгo tem como resolver isso ?


Re: BR- Escudo- Shield- BUG {Tiro Passando-shot through} - davi54723 - 02.08.2012

#include <a_samp>
#include <core>
#include <float>


public OnPlayerCommandText(playerid, cmdtext)
{
if(!strcmp(cmdtext, "/escudo", true))
{
new Float:var0 = 0.0;
GetPlayerArmour(playerid, var0);
if(var0 > 0)
{
return SendClientMessage(playerid, 0xFDE39DAA, "Vocк Ja Esta Equipado!.");
}
if(GetPlayerSkin(playerid) > 279 && GetPlayerSkin(playerid) < 289)
{
SetPlayerAttachedObject(playerid, 1, 19142, 1, 1036831949, 1028443341, 0, 0, 0, 0, 1065353216, 1065353216, 1065353216);
SetPlayerAttachedObject(playerid, 2, 19141, 2, 1038174126, 0, 0, 0, 0, 0, 1065353216, 1065353216, 1065353216);
SetPlayerAttachedObject(playerid, 3, 18637, 13, 1051931443, 0, 0, 0, 0, 1127481344, 1065353216, 1065353216, 1065353216);
SetPlayerAttachedObject(playerid, 4, 18642, 7, 1036831949, 0, 3185657774, 0, 3266576384, 1119092736, 1065353216, 1065353216, 1065353216);
GivePlayerWeapon(playerid, 3, 1);
SetPlayerArmour(playerid, 100.0);
SendClientMessage(playerid, 0xFDE39DAA, "Equipamentos colocados!.");
}
else
{
SendClientMessage(playerid, 0xFDE39DAA, "Vocк Nao й Um cop!.");
}
return 1;
}
return 0;
}

public OnPlayerUpdate(playerid)
{
new Float:var0 = 0.0;
GetPlayerArmour(playerid, var0);
if(var0 < 1)
{
RemovePlayerAttachedObject(playerid, 1);
}
return 1;
}

public OnFilterScriptExit()
{
for(new var0 = 0; var0 < 500; var0++)
{
RemovePlayerAttachedObject(var0, 1);
RemovePlayerAttachedObject(var0, 2);
RemovePlayerAttachedObject(var0, 3);
RemovePlayerAttachedObject(var0, 4);
}
return 1;
}

Esse й o comando