28.09.2014, 06:14
Hello im trying to make a radius countdown but why it doest show up?
here's the code
here's the code
Код:
forward Three(playerid, params); public Three(playerid, params) { new string[256]; format(string, sizeof(string), "[Countdown]: 3", params); ProxDetector(60.0, playerid, string,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE); return 1; } forward Two(playerid, params); public Two(playerid, params) { new string[256]; format(string, sizeof(string), "[Countdown]: 2", params); ProxDetector(60.0, playerid, string,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE); return 1; } forward One(playerid, params); public One(playerid, params) { new string[256]; format(string, sizeof(string), "[Countdown]: 1", params); ProxDetector(60.0, playerid, string,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE); return 1; } forward GoGoGo(playerid, params); public GoGoGo(playerid, params) { new string[256]; format(string, sizeof(string), "[Countdown]: Go Go Go!", params); ProxDetector(60.0, playerid, string,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE); return 1; } ====== CMD:countdown(playerid, params[]) { SetTimer("Three", 1000, 0); SetTimer("Two", 2000, 0); SetTimer("One", 3000, 0); SetTimer("GoGoGo", 4000, 0); return 1; }