Callback problem
#14

Assuming you're setting variable [Mode] to GAME_DERBY when someone joins a derby, the code can be shortened in this way:

pawn Код:
foreach (new i : Player) if (Player[i][Mode] == GAME_DERBY) GameTextForPlayer(playerid, "~g~Waiting for players", 500, 3);
Also, i suggest you to use y_timers.
Reply


Messages In This Thread
Callback problem - by SapMan - 12.09.2018, 00:06
Re: Callback problem - by SapMan - 12.09.2018, 00:52
Re: Callback problem - by sammp - 12.09.2018, 02:42
Re: Callback problem - by SapMan - 12.09.2018, 02:54
Re: Callback problem - by iHollyZinhO - 12.09.2018, 03:19
Re: Callback problem - by NaS - 12.09.2018, 15:46
Re: Callback problem - by SapMan - 12.09.2018, 20:57
Re: Callback problem - by UFF - 12.09.2018, 21:05
Re: Callback problem - by SapMan - 12.09.2018, 21:20
Re: Callback problem - by Shinja - 12.09.2018, 23:53
Re: Callback problem - by SapMan - 13.09.2018, 01:13
Re: Callback problem - by Shinja - 13.09.2018, 11:10
Re: Callback problem - by SapMan - 13.09.2018, 16:36
Re: Callback problem - by KinderClans - 13.09.2018, 16:45
Re: Callback problem - by SapMan - 13.09.2018, 17:00
Re: Callback problem - by Dayrion - 13.09.2018, 19:06
Re: Callback problem - by KinderClans - 13.09.2018, 19:25
Re: Callback problem - by Undef1ned - 14.09.2018, 15:52
Re: Callback problem - by NaS - 14.09.2018, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)