Pickups spam
#5

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;
}
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)