09.07.2015, 11:55
Quote:
|
Make 1 callback.
Код:
Public Count(playerid, seconds)
{
String = seconds;
GameTextForPlayer("blabla, string");
seconds = seconds-1;
If seconds > 0 Then
{
SetTimerEx("Count",1000,True, "ii", playerid, seconds);
}
Return 1;
}
I hope you understand what I mean with this and please dont copy and paste this onto your script because it wont work. But learn to script practically. You dont need a "count" for every second, you can use SetTimerEx and take the seconds variable into the callback. https://sampwiki.blast.hk/wiki/SetTimerEx |

