10.01.2018, 10:05
Create a timer for all players (~500ms timer) or looping through all the connected players in a ~500ms timer too.
I will use y_timers.
I will use y_timers.
task my_task[500]()
{
// General code here.
foreach(new i : Player)
{
// Per-player code here.
}
}
ptask my_player_task[500](playerid)
{
// Per-player code here.
}