09.02.2013, 16:53
make it for playerid not for all
PHP код:
forward CountDownRobbery(time);
public CountDownRobbery(time) {
if(time < 1) {
GameTextForAll("~r~Robbery complete", 2500, 1);
} else {
new
str[128]
;
format(str, sizeof str, "%d seconds remaining~n~~r~Do not move until the~n~Robbery is completed", time);
GameTextForAll(str, 1000, 1);
SetTimerEx("CountDownRobbery", 1000, false, "i", --time);
}
}