OnPlayerUpdate bug!!!
#2


yes, because OnPlayerUpdate resume after one second
pawn Код:
public OnPlayerUpdate(playerid)
{
new xtr[MAX_PLAYERS]=0;
    if (PlayerToPoint(2.0, playerid, 1750.0591,-1592.9020,13.5422))
    {
    if(xtr[playerid]==0)
    {
    xtr[playerid]++;
    SendClientMessage(playerid, 0x00FF00FF, "SPRUNK MACHINE: Drink by pressing F one time");
    }
    }else xtr[playerid]=0;
  return 1;
}
Reply


Messages In This Thread
OnPlayerUpdate bug!!! - by Moustafa - 28.06.2009, 13:19
Re: OnPlayerUpdate bug!!! - by farse - 28.06.2009, 13:25
Re: OnPlayerUpdate bug!!! - by dice7 - 28.06.2009, 13:28
Re: OnPlayerUpdate bug!!! - by Grim_ - 28.06.2009, 13:29
Re: OnPlayerUpdate bug!!! - by Moustafa - 28.06.2009, 13:31
Re: OnPlayerUpdate bug!!! - by Vince - 28.06.2009, 13:35
Re: OnPlayerUpdate bug!!! - by Moustafa - 28.06.2009, 13:36
Re: OnPlayerUpdate bug!!! - by dice7 - 28.06.2009, 13:40
Re: OnPlayerUpdate bug!!! - by Moustafa - 28.06.2009, 14:06
Re: OnPlayerUpdate bug!!! - by dice7 - 28.06.2009, 14:09

Forum Jump:


Users browsing this thread: 4 Guest(s)