Duda Gettime - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Duda Gettime (
/showthread.php?tid=549292)
Duda Gettime -
Alvaro89 - 06.12.2014
Se puede hacer esto?
gettime(10,15,20);
Osea quiero q el gettime comienze desde el tiempo que yo quiera
Es posible?
Respuesta: Duda Gettime -
jotajeda - 06.12.2014
Usa settimer. ejemplo:
pawn Код:
forward message();
public OnGameModeInit()
{
print("Timer iniciado");
SetTimer("message", 1000, false); // Йste timer empieza al 1 segundo.
}
public message()
{
print("Han pasado un segundo desde que SetTimer message fuй llamado.");
}
SetTimer o
SetTimerEx
Respuesta: Duda Gettime -
OTACON - 06.12.2014
pawn Код:
new variable;
variable=gettime()+segundos_inicial;
if(variable>gettime()){
new data[50];
format(data,sizeof(data),"%d", variable+gettime())
SendClientMessage(playerid,-1,data);
}
Respuesta: Duda Gettime -
Zume - 06.12.2014
Para quй harнas eso?
http://es.m.wikipedia.org/wiki/Tiempo_Unix