[Ajuda] BR- Escudo- Shield- BUG {Tiro Passando-shot through}
#4

#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
Reply


Messages In This Thread
BR- Escudo- Shield- BUG {Tiro Passando-shot through} - by davi54723 - 02.08.2012, 03:28
Respuesta: BR- Escudo- Shield- BUG {Tiro Passando-shot through} - by [JD]BlackFire - 02.08.2012, 03:31
Re: BR- Escudo- Shield- BUG {Tiro Passando-shot through} - by davi54723 - 02.08.2012, 07:29
Re: BR- Escudo- Shield- BUG {Tiro Passando-shot through} - by davi54723 - 02.08.2012, 07:31

Forum Jump:


Users browsing this thread: 1 Guest(s)