SA-MP Forums Archive
[Ajuda]textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda]textdraw (/showthread.php?tid=303015)



[Ajuda]textdraw - DrTHE - 11.12.2011

bom quando entro na area "caminhoneiros" o text draw aparece e quando sai desaparece

o problema й no segundo..
ele n aparece '-'

pawn Код:
public locaisprofs(playerid)
{
    new var0[128];
if(IsPlayerInPlace(playerid, 987.8362, -1382.3101, 1029.6898, -1340.4981))
    {
        //new var1[256];
        format(var0,sizeof(var0),"~b~Area de Carga ~g~(~y~Motoboys~g~) ~g~/~p~p~r~Mercadoria");
        TextDrawSetString(texca[playerid], var0);
        TextDrawShowForPlayer(playerid, texca[playerid]);
    }
    else
    {
        format(var0,sizeof(var0)," ");
        TextDrawSetString(texca[playerid], var0);
        TextDrawHideForPlayer(playerid, texca[playerid]);
    }
if(IsPlayerInPlace(playerid, 1543.105, -1160.76, 1847.332, -979.1639))
    {
        format(var0,sizeof(var0),"~b~Area de Carga ~g~(~y~Caminhoneiros~g~) ~g~/~r~carregar");
        TextDrawSetString(texca[playerid], var0);
        TextDrawShowForPlayer(playerid, texca[playerid]);
    }
    else
    {
        format(var0,sizeof(var0)," ");
        TextDrawSetString(texca[playerid], var0);
        TextDrawHideForPlayer(playerid, texca[playerid]);
    }
    return 1;
   
}



Re: [Ajuda]textdraw - Laercio - 11.12.2011

Nгo Vejo Motivos para dar isso ...


Re: [Ajuda]textdraw - DrTHE - 11.12.2011

nem eu '----' compilou mas nao aparece .-.