[Ajuda] Timer
#5

Quote:
Originally Posted by ArthurxD
Посмотреть сообщение
Eu fiz assim no meu:

pawn Код:
#define Kick(%0) SetTimerEx("Kicka", 100, false, "i", %0)

forward Kicka(p); public Kicka(p) {
    #undef Kick
    Kick(p);
    #define Kick(%0) SetTimerEx("Kicka", 100, false, "i", %0)
    return 1;
} // Final GM

// e no cmd й so usar Kick(id); ou Kick(playerid);
PAREM DE DIZER QUE FIZERAM O QUE VC'S NAO FIZERAM:

Quote:
Originally Posted by paulor
Посмотреть сообщение
Soluзгo para BUG Kick SAMP 0.3x

pawn Код:
#define Kick(%0) SetTimerEx("Kicka", 100, false, "i", %0)

forward Kicka(p); public Kicka(p) {
    #undef Kick
    Kick(p);
    #define Kick(%0) SetTimerEx("Kicka", 100, false, "i", %0)
    return 1;
}
Soluзгo para BUG Ban SAMP 0.3x
pawn Код:
#define Ban(%0) SetTimerEx("Bana", 100, false, "i", %0)

forward Bana(p); public Bana(p) {
    #undef Ban
    Ban(p);
    #define Ban(%0) SetTimerEx("Bana", 100, false, "i", %0)
    return 1;
}
Basta colocar isso no GM e Pronto, Jб vai estar tudo certo! Lembre-se, a Definiзгo no Topo do GM e a CallBack no Fim.
De os devidos creditos a quem realmente fez a funcao.
Reply


Messages In This Thread
Timer - by zqkRazer - 26.10.2014, 09:25
Re: Timer - by ReyMysterio - 26.10.2014, 11:30
Re: Timer - by Mandrack_FreeZe - 26.10.2014, 11:41
Re: Timer - by ArthurxD - 26.10.2014, 14:31
Re: Timer - by PT - 26.10.2014, 17:25
Re: Timer - by ipsLuan - 26.10.2014, 17:28

Forum Jump:


Users browsing this thread: 2 Guest(s)