Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 3, 2, 1, 0!
- #include <a_samp>
- forward say3(playerid);
- forward say2(playerid);
- forward say1(playerid);
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext, "/say", true)){
- SetTimerEx("say3", 1000, false, "d", playerid);
- GameTextForPlayer(playerid, "3", 1000, 0);
- return 1;
- }
- return 0;
- }
- public say3(playerid)
- {
- SetTimerEx("say2", 1000, false, "d", playerid);
- GameTextForPlayer(playerid, "2", 1000, 0);
- return 1;
- }
- public say2(playerid)
- {
- SetTimerEx("say1", 1000, false, "d", playerid);
- GameTextForPlayer(playerid, "1", 1000, 0);
- return 1;
- }
- public say1(playerid)
- {
- GameTextForPlayer(playerid, "0!", 1000, 0);
- return 1;
- }
Add Comment
Please, Sign In to add comment