Distance range of a place
#8

You can do it without timers;

PHP код:
new player_time[MAX_PLAYERS];

public 
OnPlayerUpdate(playerid)
{
    new 
time gettime();
    if(
player_time[playerid] != time)
    {
        
player_time[playerid] = time;
        
//code here
    
}
    return 
1;

Reply


Messages In This Thread
Distance range of a place - by Volumen - 16.01.2019, 17:12
Re: Distance range of a place - by Lokii - 16.01.2019, 17:30
Re: Distance range of a place - by Volumen - 16.01.2019, 17:31
Re: Distance range of a place - by Lokii - 16.01.2019, 17:32
Re: Distance range of a place - by Volumen - 16.01.2019, 17:39
Re: Distance range of a place - by Lokii - 16.01.2019, 17:48
Re: Distance range of a place - by Volumen - 16.01.2019, 17:56
Re: Distance range of a place - by Lokii - 16.01.2019, 18:00

Forum Jump:


Users browsing this thread: 3 Guest(s)