11.12.2011, 13:24
bom quando entro na area "caminhoneiros" o text draw aparece e quando sai desaparece
o problema й no segundo..
ele n aparece '-'
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;
}