Hide pickups
#3

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;
}
Careful though, that will destroy all pickups.

You can also use Foreach to create and hide/un-hide the pickups.
Reply


Messages In This Thread
Hide pickups - by Beginnercoder - 23.02.2011, 21:51
Re: Hide pickups - by Antonio [G-RP] - 23.02.2011, 21:56
Re: Hide pickups - by maramizo - 23.02.2011, 22:04
Re: Hide pickups - by Steven82 - 23.02.2011, 22:26
Re: Hide pickups - by maramizo - 23.02.2011, 22:34
Re: Hide pickups - by Steven82 - 23.02.2011, 22:54
Re: Hide pickups - by maramizo - 23.02.2011, 23:12

Forum Jump:


Users browsing this thread: 1 Guest(s)