Tetxdraw count time problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Tetxdraw count time problem (
/showthread.php?tid=600444)
Tetxdraw count time problem -
AgusZ - 08.02.2016
hello, why my textdraw in game screen count to 20 second? but in the script my textdraw configured to 37 second.
here my script.
at the top
Код:
new TextdrawLoadTimeCount;
forward TextdrawLoadTimeString(playerid);
ongamemodeinit
Код:
SetTimer("TextdrawLoadTimeString", 1000, true);
TextdrawLoadTimeCount = 37;
code
Код:
public TextdrawLoadTimeString(playerid)
{
TextdrawLoadTimeCount--;
new string[128];
format(string, sizeof string, "%d", TextdrawLoadTimeCount);
TextDrawSetString(Text:TextdrawLoadTime, string);
return 1;
}
Re: Tetxdraw count time problem -
Mencent - 08.02.2016
PHP код:
public TextdrawLoadTimeString(playerid)
to
PHP код:
public TextdrawLoadTimeString()
PHP код:
forward TextdrawLoadTimeString(playerid);
to
PHP код:
forward TextdrawLoadTimeString();
Maybe it will help. If not, then ask again.
Re: Tetxdraw count time problem -
AgusZ - 09.02.2016
same, not work
Re: Tetxdraw count time problem -
FreAkeD - 09.02.2016
https://sampforum.blast.hk/showthread.php?tid=357043
https://sampforum.blast.hk/showthread.php?tid=528046
https://sampforum.blast.hk/showthread.php?tid=163380
https://sampforum.blast.hk/showthread.php?tid=110121