[AJUDA]GPS
#5

pawn Код:
if(IsPlayerInAnyVehicle(playerid2))
                            {
                                format(string, sizeof(string), "~r~%s (id:%d)~n~~g~%d Metros  %s~n~~r~Vida:%d  Colete:%d~n~~b~%s  %s",PlayerName(playerid2),playerid2,floatround(Distance),CityInGps[i][CITYNAME],floatround(Vida),floatround(Colete),weaponNames(GetPlayerWeapon(playerid2)),vehName[GetVehicleModel(GetPlayerVehicleID(playerid2))-400]);
                            }
                            else
                            {
                                format(string, sizeof(string), "~r~%s (id:%d)~n~~g~%d Metros  %s~n~~r~Vida:%d  Colete:%d~n~~b~%s  Sem Veiculo",PlayerName(playerid2),playerid2,floatround(Distance),CityInGps[i][CITYNAME],floatround(Vida),floatround(Colete),weaponNames(GetPlayerWeapon(playerid2)));
                            }
                        }
                    }
                    TextDrawSetString(GPS[playerid],string);
                }
            }
        }
        else
        {
            if(gpstype==0) format(string, sizeof(string), "~g~%s (id:%d)~n~~b~Em Interior",PlayerName(playerid2),playerid2);
            else
            {
                if(GetPlayerWeapon(playerid2)==0)
                {
                    if(IsPlayerInAnyVehicle(playerid2))
                    {
                        format(string, sizeof(string), "~r~%s (id:%d)~n~~g~Em Interior~n~~b~Vida:%d  Colete:%d~n~~g~Sem Arma  %s",PlayerName(playerid2),playerid2,floatround(Vida),floatround(Colete),vehName[GetVehicleModel(GetPlayerVehicleID(playerid2))-400]);
                    }
                    else
                    {
                        format(string, sizeof(string), "~r~%s (id:%d)~n~~g~Em Interior~n~~b~Vida:%d  Colete:%d~n~~g~Sem Arma  Sem Veiculo",PlayerName(playerid2),playerid2,floatround(Vida),floatround(Colete));
                    }
                }
                else
                {
                    if(IsPlayerInAnyVehicle(playerid2))
                    {
                        format(string, sizeof(string), "~r~%s (id:%d)~n~~g~Em Interior~n~~b~Vida:%d  Colete:%d~n~~g~%s  %s",PlayerName(playerid2),playerid2,floatround(Vida),floatround(Colete),weaponNames(GetPlayerWeapon(playerid2)),vehName[GetVehicleModel(GetPlayerVehicleID(playerid2))-400]);
                    }
                    else
                    {
                        format(string, sizeof(string), "~r~%s (id:%d)~n~~g~Em Interior~n~~b~Vida:%d  Colete:%d~n~~g~%s  Sem Veiculo",PlayerName(playerid2),playerid2,floatround(Vida),floatround(Colete),weaponNames(GetPlayerWeapon(playerid2)));
                    }
                }
            }
Todas as linhas que estao em format ..
Reply


Messages In This Thread
[AJUDA]GPS - by Victor_Souz4 - 30.11.2011, 15:31
Re: [AJUDA]GPS - by Lуs - 30.11.2011, 15:35
Re: [AJUDA]GPS - by Victor_Souz4 - 30.11.2011, 15:43
Re: [AJUDA]GPS - by Lуs - 30.11.2011, 15:45
Re: [AJUDA]GPS - by Victor_Souz4 - 30.11.2011, 15:56
Re: [AJUDA]GPS - by Victor_Souz4 - 30.11.2011, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)