[Ajuda] TextDraw nгo aparece!
#1

To com poblema na TextDrawSetString quando entro na GangZone ele nгo aparece o texdraw, Codigo:
OBS: TextDrawSetString sу parece na area de pesca, Agora o de baixo area de caзa nгo aparece o TextDrawSetString.

PHP код:

forward CheckAreasServer
();
public 
CheckAreasServer()
{
  foreach(
Playeri)
    {
   if(
IsPlayerInPlace(i481.4920, -2393.4478671.3785, -2243.2761)) // Area de Pesca
        
{
            if(
AreadePesca[i] == false)
            {
                
TextDrawSetString(Server_Areas[i], "~b~Area de Pesca: ~y~/JogarRede");
                
TextDrawShowForPlayer(iServer_Areas[i]);
                 
AreadePesca[i] = true;
            }
        }
        else
          {
            if(
AreadePesca[i] == true)
            {
                
TextDrawHideForPlayer(iServer_Areas[i]);
                
AreadePesca[i] = false;
            }
        }
   if(
IsPlayerInPlace(i, -405.1553, -1681.6285, -505.8031, -1800.3656)) // Area de Pesca
        
{
            if(
AreadeCaca[i] == false)
            {
                
TextDrawSetString(Server_Areas[i], "~b~Area de Caca: ~y~/Cacar");
                
TextDrawShowForPlayer(iServer_Areas[i]);
                 
AreadeCaca[i] = true;
            }
        }
        else
          {
            if(
AreadeCaca[i] == true)
            {
                
TextDrawHideForPlayer(iServer_Areas[i]);
                
AreadeCaca[i] = false;
            }
        }
     }
  
SetTimer("CheckAreasServer"1000false);
  return 
1;

Reply


Messages In This Thread
TextDraw nгo aparece! - by zDark - 19.05.2015, 19:14
Re: TextDraw nгo aparece! - by viniciuship - 19.05.2015, 20:34
Re: TextDraw nгo aparece! - by ModaLOKO - 19.05.2015, 21:46
Re: TextDraw nгo aparece! - by n0minal - 19.05.2015, 22:43
Re: TextDraw nгo aparece! - by zDark - 20.05.2015, 11:21
Re: TextDraw nгo aparece! - by n0minal - 20.05.2015, 12:00
Re: TextDraw nгo aparece! - by zDark - 20.05.2015, 12:51

Forum Jump:


Users browsing this thread: 1 Guest(s)