[Ajuda] Textdraw nгo some. - 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 nгo some. (
/showthread.php?tid=483996)
Textdraw nгo some. -
JoaoMonteiro452 - 28.12.2013
Alguй ajuda ?
Quando o trailer desengata, o textdraw nao some o.O'
pawn Код:
if(GetVehicleModel(GetVehicleTrailer(vehicleid)) == 435)
{
if(GetVehicleTrailer(GetPlayerVehicleID(playerid)) != 0)
{
TextDrawSetString(APlayerData[playerid][AtreladoDraw], " Bau");
}
else if(GetVehicleTrailer(GetPlayerVehicleID(playerid)) != 0)
{
TextDrawSetString(APlayerData[playerid][AtreladoDraw], "_");
}
}
else if(GetVehicleModel(GetVehicleTrailer(vehicleid)) == 450)
{
if(GetVehicleTrailer(GetPlayerVehicleID(playerid)) != 0)
{
TextDrawSetString(APlayerData[playerid][AtreladoDraw], "Minerio");
}
else if(GetVehicleTrailer(GetPlayerVehicleID(playerid)) != 0)
{
TextDrawSetString(APlayerData[playerid][AtreladoDraw], "_");
}
}
do +rep para quem me ajudar :/
Re: Textdraw nгo some. -
Schocc - 28.12.2013
Nгo vejo TextDrawHideForPlayer, em seu cуdigo.
Posta a parte em que usa
TextDrawHideForPlayer para esconder a TXD.
Re: Textdraw nгo some. -
JoaoMonteiro452 - 28.12.2013
#arrumado, vlw +rep por tentar ajuda.