Textdraw problem - Doesn't disappear?
#1

Delete
Reply
#2

~n~

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

or

pawn Code:
InfoBoardTimer = SetTimerEx("HideTDInfo",500,0,"i", playerid);
Reply
#3

Well - It kinda worked to make the TD disappear.. But when I set the TD text - The TD doesn't appear anymore :/


PHP Code:
dcmd_setinfoboardstring(playeridparams[])
{
    new 
name[255], idstring256 ];
    if( 
sscanfparams"ds"idname))
    {
        if( 
PlayerInfo[playerid][pAdmin] >= 1339)
        {
            
SendClientMessageplayeridCOLOR_WHITE"USAGE: /setinfoboardstring [infoboardID] [Text]" );
        }
    }
    else
    {
        if( 
PlayerInfo[playerid][pAdmin] >= 1339)
        {
            
formatstringsizeof( string ), "InfoBoards/InfoBoard_%d.ini"id);
            if(!
dini_Exists( string) )
            {
                
SendClientMessageplayeridCOLOR_GREY"Invalid Info-Board ID!" );
                return 
1;
            }
            else
            {
                new 
IBI[512];
                
format(InfoBoardInfo[id][InfoBoardTDstring], 255"%s"name);
                
dini_Set(string"TDstring"InfoBoardInfo[id][InfoBoardTDstring]);
                  
format(IBI,sizeof(IBI), "Information Board\n\n%s"InfoBoardInfo[id][InfoBoardTDstring]);
                
TextDrawSetString(IBITDIBI);
                
formatstringsizeof( string ), "You have setted the Info-Board (ID: %d) text to %s."idname);
                
SendClientMessageplayeridCOLOR_WHITEstring);
                
SaveInfoBoard(id);
            }
        }
    }
    return 
1;

Reply
#4

Bump..


3rd page already
Reply
#5

PHP Code:
InfoBoardTimer SetTimerEx("HideTDInfo",500,0,"i"playerid); 
try ^^
Reply
#6

Yeah I did - But now the Textdraw doesn't even appear AFTER setting a text to it with the command up there.
Reply
#7

Bump.. I need urgent help guys :/
Reply
#8

Bump.

24 / 7 hours has passed.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)