14.08.2013, 00:00
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;
}