28.12.2013, 17:08
Alguй ajuda ?
Quando o trailer desengata, o textdraw nao some o.O'
do +rep para quem me ajudar :/
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], "_");
}
}