OnPlayerUpdate bug!!!
#8

pawn Код:
new nearsprunk[MAX_PLAYERS];
public OnPlayerUpdate(playerid)
{
    if (!(PlayerToPoint(2.0, playerid, 1750.0591,-1592.9020,13.5422)))
    {
        nearsprunk[playerid]=true;
        return 1;
    }
   
    if(nearsprunk[playerid])
    {
        SendClientMessage(playerid, 0x00FF00FF, "SPRUNK MACHINE: Drink by pressing F one time");
        nearsprunk[playerid]=false;
    }
    return 1;
}
This should work
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: 2 Guest(s)