[Ajuda]Como setar um time off?
#3

use gettime()

E depois compare com gettime()+1 hora

ex:
pawn Код:
dini_IntSet(usuario, "temposaiu", gettime());
//na hora de logar

if(dini_Int(usuario, "temposaiu") > gettime()+180000) {
//    spawn da casa
}
Nгo sei quanto й 1 hora, entгo vocк procura.
Dei sу a base
Reply


Messages In This Thread
[Ajuda]Como setar um time off? - by [KoS]Izaac - 09.01.2012, 20:51
Re: [Ajuda]Como setar um time off? - by Byffano Xeddar - 09.01.2012, 21:02
Re: [Ajuda]Como setar um time off? - by Ricop522 - 09.01.2012, 21:02
Re: [Ajuda]Como setar um time off? - by [KoS]Izaac - 09.01.2012, 22:38
Re: [Ajuda]Como setar um time off? - by Lуs - 10.01.2012, 02:17
Re: [Ajuda]Como setar um time off? - by [KoS]Izaac - 10.01.2012, 02:25
Re: [Ajuda]Como setar um time off? - by Vai_Besta - 10.01.2012, 02:48
Re: [Ajuda]Como setar um time off? - by Ricop522 - 10.01.2012, 11:11
Re: [Ajuda]Como setar um time off? - by rjjj - 10.01.2012, 12:31
Re: [Ajuda]Como setar um time off? - by [KoS]Izaac - 10.01.2012, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)