[Ajuda] Ajuda Tapete de prego.
#4

Nгo sei mano, isso й um [FS] sу quero que apenas policia podece colocar esse tapete olha, igual a esse fs..:

:
Quote:

#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 Policial!.");
}
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;
}

Reply


Messages In This Thread
Ajuda Tapete de prego. - by davi54723 - 14.08.2012, 00:45
Respuesta: Ajuda Tapete de prego. - by RedBulL_x - 14.08.2012, 01:51
Re: Ajuda Tapete de prego. - by Diogo123 - 14.08.2012, 01:55
Re: Ajuda Tapete de prego. - by davi54723 - 14.08.2012, 01:55
Re: Ajuda Tapete de prego. - by davi54723 - 14.08.2012, 02:08
Re: Ajuda Tapete de prego. - by Delay - 14.08.2012, 02:16
Respuesta: Ajuda Tapete de prego. - by RedBulL_x - 14.08.2012, 03:01
Re: Ajuda Tapete de prego. - by MatheusAlcapone - 14.08.2012, 03:39
Re: Ajuda Tapete de prego. - by davi54723 - 15.08.2012, 04:53

Forum Jump:


Users browsing this thread: 4 Guest(s)