SA-MP Forums Archive
[Ajuda] SetTimerEx format - 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: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] SetTimerEx format (/showthread.php?tid=358336)



SetTimerEx format - godkrad - 10.07.2012

Olб e bom dia a todos.

Estou com o seguinte cуdigo

Code:
new Text3D:label = Create3DTextLabel( string, 0xffffff, p[0], p[1], p[2], 30.0, 0  );
SetTimerEx( "OnRetirarTexto3D", 5000, 0, "s", label );
Porйm o format "s" gera um warning na hora da compilaзгo. Minha dъvida й: Que tipo de format posso passar? Ja tentei todos, "d", "f", "b", etc...

Agradeзo desde jб.


Re: SetTimerEx format - Rick_DR - 10.07.2012

tenta o "n"


Re: SetTimerEx format - Nigel - 10.07.2012

pawn Code:
SetTimer("OnRetirarTexto3D", 5000, 0);
public nRetirarTexto3D() return Delete3DTextLabel(label);
Espero que funcione
Abraзos!


Re: SetTimerEx format - andmeida10 - 10.07.2012

https://sampwiki.blast.hk/wiki/Format


Re: SetTimerEx format - Ricop522 - 10.07.2012

pawn Code:
new Text3D:label = Create3DTextLabel( string, 0xffffff, p[0], p[1], p[2], 30.0, 0  );
SetTimer( "OnRetirarTexto3D_Label");

forward on..
public on..
{
   Destroy..
}



Re: SetTimerEx format - rjjj - 10.07.2012

A variбvel label armazena nъmeros inteiros, entгo o sнmbolo apropriado seria o i ou o d .



O warning estб sendo gerado devido аs tags da elipse do SetTimerEx, mas hб um truque para burlar isso :


pawn Code:
new Text3D:label = Create3DTextLabel( string, 0xffffff, p[0], p[1], p[2], 30.0, 0  );
SetTimerEx( "OnRetirarTexto3D", 5000, 0, "i", (_:label) );


Espero ter ajudado .