11.03.2012, 23:07
tenta com esse:
Aqui funcionou de boa ^^.
pawn Код:
if (strcmp("/guardar Arara", cmdtext, true, 10) == 0)
{
if(ComprouArara[playerid] == 1)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, 2))
{
RemovePlayerAttachedObject(playerid, 2);
return SendClientMessage(playerid, COLOR_GREEN, "Voce guardou sua arara");
}
else return SendClientMessage(playerid, COLOR_GREEN, "Objeto nгo encontrado");
}
SendClientMessage(playerid, COLOR_GREEN, "Voce nao tem uma arara.");
return 1;
}