Tetxdraw count time problem
#1

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;
}
Reply
#2

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.
Reply
#3

same, not work
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)