hold off command?
#12

yes it will just use this
pawn Code:
stock RemovePlayerAttachedObjects(playerid)
{
new numfound;
    for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++)
    {
        if(IsPlayerAttachedObjectSlotUsed(playerid, i)){
        RemovePlayerAttachedObject(playerid,i)
        numfound++;
        }
    }
return
}

//then later on use it like this(any where)
RemovePlayerAttachedObjects(playerid);

//also it can return how many objects were found example
new objects = RemovePlayerAttachedObjects(playerid);
printf("objects found: %d",objects);
Reply


Messages In This Thread
hold off command? - by «XTC» - 26.06.2012, 07:19
Re: hold off command? - by park4bmx - 26.06.2012, 07:39
Re: hold off command? - by Randy More - 26.06.2012, 08:21
Re: hold off command? - by «XTC» - 26.06.2012, 08:34
Re: hold off command? - by vital2k - 26.06.2012, 08:38
Re: hold off command? - by Randy More - 26.06.2012, 08:39
Re: hold off command? - by «XTC» - 26.06.2012, 08:40
Re: hold off command? - by park4bmx - 26.06.2012, 08:47
Re: hold off command? - by vital2k - 26.06.2012, 08:47
Re: hold off command? - by «XTC» - 26.06.2012, 08:57
Re: hold off command? - by vital2k - 26.06.2012, 08:57
Re: hold off command? - by park4bmx - 26.06.2012, 09:15
Re: hold off command? - by «XTC» - 26.06.2012, 09:15

Forum Jump:


Users browsing this thread: 4 Guest(s)