GetGift pe timp
#2

cu un timer si o variabila booleana (care poate fi 0 sau 1).
Definesti pentru fiecare player acea variabila si la conextiune o setezi ca 1.
Timer-ul il lasi oprit
Cand primeste gift-ul setezi variabila 0, pornesti timer-ul si il setezi sa nu se repete.
Cand timer-ul termina de numarat, variabila player-ului trebuie sa devina iar 1.
Si pui comanda in functie de valoarea aia.
Reply


Messages In This Thread
GetGift pe timp - by jazzyKISS - 19.05.2016, 22:06
Re: GetGift pe timp - by HeLiOn_PrImE - 19.05.2016, 22:20
Re: GetGift pe timp - by TheMaxXx - 19.05.2016, 22:30
Re: GetGift pe timp - by jamal1992 - 20.05.2016, 01:37
Re: GetGift pe timp - by jazzyKISS - 20.05.2016, 12:59
Re: GetGift pe timp - by HeLiOn_PrImE - 20.05.2016, 13:31
Re: GetGift pe timp - by Scriptery - 01.06.2016, 11:14
Re: GetGift pe timp - by jazzyKISS - 02.06.2016, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)