Attached Object!
#2

You mean the compiler compiles with errors or the command doesn't work? There's appears to be one extra bracket on the wiki example. Maybe someone will fix that some day.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strmp(cmdtext, "/remao", true)) // Remove Attached Objects
    {
        for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++)
        {
            if(IsPlayerAttachedObjectSlotUsed(playerid, i)) RemovePlayerAttachedObject(playerid, i);
        }
        return 1;
    }
    }//remove this one
    return 0;
}
Reply


Messages In This Thread
Attached Object! - by BodyBoardVEVO - 13.08.2013, 23:15
Re: Attached Object! - by Youarex - 14.08.2013, 00:00
Re: Attached Object! - by Drebin - 14.08.2013, 00:02

Forum Jump:


Users browsing this thread: 1 Guest(s)