[Ajuda] 3D text label
#1

Gente, eu nгo sei o pq, mas essas 3D text label estгo bugando. Quando o carro passa atй umas 3x ele atualiza a label, mas dps disto ele sobrepoe os textos.
Se alguйm souber corriga meu scripr, please!!!

PHP код:
forward Radares(playerid);
public 
Radares(playerid)
{
    new 
Float:speed GetVehicleSpeed_P(playerid);
    new 
Float:Xa,Float:Ya,Float:Za;
    new 
string[128], stringradar1[50], stringradar2[50];
    
GetPlayerPos(playerid,Xa,Ya,Za);
    for (new 
010i++)
    {
        if(
IsPlayerInAnyVehicle(playerid) && floatround(speed) > 90)
        {
            if(
IsPlayerInPlaceRadar(playerid) && Xa CordRadares[i][0] && Ya CordRadares[i][1] && Xa CordRadares[i][2] && Ya CordRadares[i][3] && Za 50)
            {
                
//if(PlayerInfo[playerid][Org] != 1 && PlayerInfo[playerid][Org] != 2 && PlayerInfo[playerid][Org] != 3 && PlayerInfo[playerid][Org] != 10 && PlayerInfo[playerid][Org] != 11)
                //{
                    
SendClientMessage(playeridBranco"|____________________[ RADAR ]____________________|");
                    
format(stringsizeof(string), "Limite: 90Km/h. Vocк passou a: %dKm/h. Multa: R$150."floatround(speed));
                    
SendClientMessage(playeridBrancostring);
                    
GivePlayerMoney(playerid, -150);
                    if(
IsPlayerInRangeOfPoint(playerid15.51927.39941406252196.0Za))
                    {
                        
format(stringradar1sizeof(stringradar1), "O ъltimo carro passou a\n%d Km/h."floatround(speed));
                        
newradar0 Create3DTextLabel(stringradar1COR_AMARELO1927.40002441412195.100097656318.5100.001);
                        
Update3DTextLabelText(newradar0COR_AMARELOstringradar1);
                    }
                    else if(
IsPlayerInRangeOfPoint(playerid15.51819.79980468752273.19921875Za))
                    {
                        
format(stringradar2sizeof(stringradar2), "O ъltimo carro passou a\n%d Km/h."floatround(speed));
                        
Update3DTextLabelText(newradar1COR_AMARELOstringradar2);
                        
newradar1 Create3DTextLabel(stringradar2COR_AMARELO1820.40002441412273.199951171919.799999237061100.001);
                        
Update3DTextLabelText(newradar1COR_AMARELOstringradar2);
                    }
                
//}
            
}
        }
    }
    
SalvarDini(playerid);
    return 
1;

Reply


Messages In This Thread
3D text label - by UkTaKe - 11.08.2012, 04:20
Re: 3D text label - by Delay - 11.08.2012, 19:11
Re: 3D text label - by @Riichard - 11.08.2012, 19:12
Re: 3D text label - by Delay - 11.08.2012, 19:18
Re: 3D text label - by UkTaKe - 11.08.2012, 20:27
Re: 3D text label - by Delay - 11.08.2012, 20:37
Re: 3D text label - by UkTaKe - 11.08.2012, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)