[Problem] textdraw shows for 1 sec :D - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Problem] textdraw shows for 1 sec :D (
/showthread.php?tid=146470)
[Problem] textdraw shows for 1 sec :D -
ArTisT - 07.05.2010
If i type my cmd textdraw show for 1sec and goes away again why ?
Here is the code:
Quote:
if(strcmp(cmdtext, "/ceck", true)==0)
{
if(mo == 2)
{
if(IsPickedUp == 1)
{
TextDrawShowForPlayer(playerid, UPText);
}
else
{
SetPlayerCheckpoint(playerid, CaxX, CaxY, CaxZ, 1);
TextDrawShowForPlayer(playerid, UPText);
}
}
return 1;
}
|
Re: [Problem] textdraw shows for 1 sec :D -
0ne - 07.05.2010
Код:
if(strcmp(cmdtext, "/ceck", true)==0)
{
if(mo == 2)
{
if(IsPickedUp == 1)
{
TextDrawShowForPlayer(playerid, UPText);
return 1;
}
else
{
SetPlayerCheckpoint(playerid, CaxX, CaxY, CaxZ, 1);
TextDrawShowForPlayer(playerid, UPText);
}
}
return 1;
}
Re: [Problem] textdraw shows for 1 sec :D -
ArTisT - 07.05.2010
still the same it shows for 1sec
Re: [Problem] textdraw shows for 1 sec :D -
dice7 - 07.05.2010
Do you run any timers or anything, which could hide it ?