23.02.2011, 22:04
pawn Код:
CMD:hidepickups(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF3300, "You're not a server administrator.");
for(new p = 0; p < MAX_PICKUPS; p++)
DestroyPickup(p);
return 1;
}
You can also use Foreach to create and hide/un-hide the pickups.