Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward Aumentar();
- new Tempo = 0;
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/aumentartempo", true) == 0)
- {
- Aumentar();
- return 1;
- }
- return 0;
- }
- public Aumentar()
- {
- if(Tempo == 100)
- {
- Tempo = 0;
- SendClientMessage(j, branco, "O tempo chegou a 100");
- } else {
- Tempo++;
- SetTimer("Aumentar", 1000, false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement