[Problem] textdraw shows for 1 sec :D
#1

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;
}

Reply
#2

Код:
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;
  }
Reply
#3

still the same it shows for 1sec
Reply
#4

Do you run any timers or anything, which could hide it ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)