Pickups spam
#6

Quote:
Originally Posted by xTURBOx
Посмотреть сообщение
Use a timer + variable?
here is an idea
Код:
new variable[MAX_PLAYERS];

OnPlayerPickUpPickup(//)
if(variable[playerid] == 0)
{
showplayerdialog(//)
variable[playerid] = 1;
settimerex("resetvariable",10000,false,"i",playerid);
}

forward resetvariable(playerid);
public resetvariable(playerid)
{
variable[playerid] = 0;
}
That wouldn't work out good at all.

But yeah, I would just recommend checkpoints or what Sick said above for the different pickup types.
Reply


Messages In This Thread
Pickups spam - by Uberanwar - 05.03.2016, 04:01
Re: Pickups spam - by SickAttack - 05.03.2016, 04:56
Re: Pickups spam - by itsCody - 05.03.2016, 04:57
Re: Pickups spam - by SickAttack - 05.03.2016, 05:00
Re: Pickups spam - by xTURBOx - 05.03.2016, 05:02
Re: Pickups spam - by itsCody - 05.03.2016, 05:15

Forum Jump:


Users browsing this thread: 1 Guest(s)