se eu nгo me engano achei aqui no forum mais num lembro quem feis.. fais um tempinho q tenho ele no meu GM
pawn Код:
//==============================================================================
if(!strcmp(cmdtext,"/escudo",true))
{
SetPlayerAttachedObject(playerid,3,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
SetPlayerAttachedObject(playerid,4,18642,7,0.1,0.0,-0.11,0.0,-90.0,90.0);
GivePlayerWeapon(playerid,3,1);
SendClientMessage(playerid,0xAFAFAFAA," Vocк Pegou Seu Escudo!");
return 1;
}
//==============================================================================
if(!strcmp(cmdtext,"/Tequips",true))
{
{
for(new i; i<MAX_PLAYERS; i++)
{
RemovePlayerAttachedObject(i,1);
RemovePlayerAttachedObject(i,2);
RemovePlayerAttachedObject(i,3);
RemovePlayerAttachedObject(i,4);
}
SendClientMessage(playerid,0xAFAFAFAA," Vocк Se Desequipou !");
}
return 1;
}
//==============================================================================
if(!strcmp(cmdtext,"/colete",true))
{
SetPlayerAttachedObject(playerid,1,19142,1,0.1,0.05,0.0,0.0,0.0,0.0);
GivePlayerWeapon(playerid,3,1);
SendClientMessage(playerid,0xAFAFAFAA," Vocк Pegou Seu Colete !");
return 1;
}
//==============================================================================
if(!strcmp(cmdtext,"/capacete",true))
{
SetPlayerAttachedObject(playerid,2,19141,2,0.11,0.0,0.0,0.0,0.0,0.0);
GivePlayerWeapon(playerid,3,1);
SendClientMessage(playerid,0xAFAFAFAA," Vocк Pegou Seu Capacete");
return 1;
}
BOM eu tirei a funзгo SetPlayerArmour por acho desfavoravel ter ela nesse comando pois toda vкs que o player digitar /escudo ou /colete etc.. ele ira renonar o Armour ai ele vai ser o FODГO do seu server '-' entгo retirei mais se quiser colocar fique avontado.