Textdraw problem - Doesn't disappear? - 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: Textdraw problem - Doesn't disappear? (
/showthread.php?tid=410587)
Delete -
-CaRRoT - 26.01.2013
Delete
Re: Textdraw problem - Doesn't disappear? -
SKAzini - 26.01.2013
~n~
https://sampwiki.blast.hk/wiki/OnPlayerLeaveCheckpoint
or
pawn Code:
InfoBoardTimer = SetTimerEx("HideTDInfo",500,0,"i", playerid);
Re: Textdraw problem - Doesn't disappear? -
-CaRRoT - 30.01.2013
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(playerid, params[])
{
new name[255], id, string[ 256 ];
if( sscanf( params, "ds", id, name))
{
if( PlayerInfo[playerid][pAdmin] >= 1339)
{
SendClientMessage( playerid, COLOR_WHITE, "USAGE: /setinfoboardstring [infoboardID] [Text]" );
}
}
else
{
if( PlayerInfo[playerid][pAdmin] >= 1339)
{
format( string, sizeof( string ), "InfoBoards/InfoBoard_%d.ini", id);
if(!dini_Exists( string) )
{
SendClientMessage( playerid, COLOR_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(IBITD, IBI);
format( string, sizeof( string ), "You have setted the Info-Board (ID: %d) text to %s.", id, name);
SendClientMessage( playerid, COLOR_WHITE, string);
SaveInfoBoard(id);
}
}
}
return 1;
}
Re: Textdraw problem - Doesn't disappear? -
-CaRRoT - 30.01.2013
Bump..
3rd page already
Re: Textdraw problem - Doesn't disappear? -
WorldPro - 30.01.2013
PHP Code:
InfoBoardTimer = SetTimerEx("HideTDInfo",500,0,"i", playerid);
try ^^
Re: Textdraw problem - Doesn't disappear? -
-CaRRoT - 31.01.2013
Yeah I did - But now the Textdraw doesn't even appear AFTER setting a text to it with the command up there.
Re: Textdraw problem - Doesn't disappear? -
-CaRRoT - 31.01.2013
Bump.. I need urgent help guys :/
Re: Textdraw problem - Doesn't disappear? -
-CaRRoT - 01.02.2013
Bump.
24 / 7 hours has passed.