[Ajuda] Ajuda?
#6

Quote:
Originally Posted by sanalex
Посмотреть сообщение
Topo do GM:

new tempo = 3;

Bota dentro da public OnPlayerCommandText:
pawn Код:
if (strcmp(cmdtext, "/contar", true)==0)
{
    Contar();
    SendClientMessage(playerid, -1, "Contagem iniciada!");
    for(new i; i < MAX_PLAYERS; ++i) {
        TogglePlayerControllable(i, false);
    }
    return true;
}
Bota no final do GM:
pawn Код:
forward Contar();
public Contar() {
    if(!tempo) {
        tempo = 3;
        GameTextForAll("GO !", 2000, 4);
        for(new i; i < MAX_PLAYERS; ++i) {
            TogglePlayerControllable(i, true);
        }
        return false;
    }
    new s[128];
    format(s, 128, "%i", tempo);
    GameTextForAll(s, 2000, 4);
    SetTimer("Contar", 1000, false);
    tempo --;
    return true;
}
Nгo testei sу adaptei...
Obg cara :3
Reply


Messages In This Thread
Ajuda? - by FireBallPlays - 11.07.2012, 20:45
Re: Ajuda? - by andmeida10 - 11.07.2012, 21:03
Re: Ajuda? - by zbt - 11.07.2012, 21:09
Re: Ajuda? - by FireBallPlays - 11.07.2012, 23:49
Re: Ajuda? - by sanalex - 12.07.2012, 00:06
Re: Ajuda? - by FireBallPlays - 12.07.2012, 00:30
Re: Ajuda? - by sanalex - 12.07.2012, 00:32
Re: Ajuda? - by FireBallPlays - 12.07.2012, 01:20

Forum Jump:


Users browsing this thread: 1 Guest(s)