08.06.2011, 17:10
pawn Код:
if(!strcmp(cmdtext,"/escudo",true))
{
SetPlayerAttachedObject(playerid,1,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
SetPlayerAttachedObject(playerid,2,18642,7,0.1,0.0,-0.11,0.0,-90.0,90.0);
SendClientMessage(playerid, 0xAFAFAFAA," Vocк Pegou Seu Escudo!");
return true;
}
if(!strcmp(cmdtext,"/desequipar",true))
{
RemovePlayerAttachedObject(playerid, 1);
RemovePlayerAttachedObject(playerid, 2);
SendClientMessage(playerid, 0xAFAFAFAA," Vocк Retirou Seu Escudo!");
return true;
}