Jump to content
  • 0

Question

Posted

Salut , vreau sa setez intervalul dintre mesaje pe /ec la 60 secunde , am schimbat in comanda /ec la eventtimer am pus 500 el era 1000 adika 120 secunde insa imi da un interval de 260 secunde , cum trebuie calculat sa dea valoarea de 60 secunde ?

[pawn]{

format(string, sizeof(string), "  Please try again later, %d seconds between Event Informations !",  (eventtimer/1000));

SendClientMessage(playerid, COLOR_GRAD2, string);

return 1;

}

[/pawn]

RPG.VIBEPLAY.RO

Recomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!

5 answers to this question

Recommended Posts

Posted

Seconds to milliseconds

Si ce ai schimbat tu schimba doar ce o sa iti arate in mesajul trimis catre playerul care incearca sa foloseasca comanda.

Arata-mi timerul. (SetTimer sau SetTimerEx)

Posted

Seconds to milliseconds

Si ce ai schimbat tu schimba doar ce o sa iti arate in mesajul trimis catre playerul care incearca sa foloseasca comanda.

Arata-mi timerul. (SetTimer sau SetTimerEx)

Uite asta am gasit :-" .. [pawn]SetTimer("EcOn", eventtimer, 0);[/pawn]

RPG.VIBEPLAY.RO

Recomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!

Posted

Arata-mi unde ai definit "eventtimer"

Posted

Arata-mi unde ai definit "eventtimer"

[pawn]new eventtimer = 120000[/pawn]

da banuiesc ca trebuie sa il pun 60000 ! Dar sa pun sa si arate aici [pawn]format(string, sizeof(string), "  Please try again later, %d seconds between Event Informations !",  (eventtimer/1000));[/pawn] 60 secunde !

RPG.VIBEPLAY.RO

Recomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!

Posted

[pawn]new eventtimer = 120000[/pawn]

da banuiesc ca trebuie sa il pun 60000 ! Dar sa pun sa si arate aici [pawn]format(string, sizeof(string), "  Please try again later, %d seconds between Event Informations !",  (eventtimer/1000));[/pawn] 60 secunde !

Da, unde e definit pune 60000.

Si in comanda aia iti apare timpul ramas pana poti sa folosesti din nou comanda aia.

Daca nu vrei asta pune doar "eventtimer"

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.