Taxi Problem
#1

I have an Km..and it remains 0..i don't know why..

PHP код:
if(TransportTaxi[i])
                        {
                            new 
veh GetPlayerVehicleID );
                            new 
moneys 0;
                               foreach ( 
Player)
                            {
                                if ( 
GetPlayerVehicleID ) != veh ) continue;
                                new 
side floatround TransportValue ] * ( TransportDistanceMeters ] - TransportDistanceMeters ] ) );
                                if ( 
side GetPlayerCash ) ) 
                                {
                                    
moneys += GetPlayerCash );
                                }
                                else
                                {
                                    
moneys += side;
                                }
                            }
                            
format(stringsizeof(string), "~r~%.2f KM~w~: ~g~$%s"floatdiv TransportDistanceMeters ], 1000 ), FormatMoney moneys ) );
                            
GameTextForPlayer(istring150006);
                            
printf("arrrr");
                        } 
Reply
#2

anyone reping
Reply
#3

plz, I will rep.. I really need help..
Reply
#4

bump
Reply
#5

bump
Reply
#6

Where are you increasing the KM driven?
Reply
#7

Better question, why are you bumping the topic about once every 3 hours?
Reply
#8

Just a reminder bumping a topic in which you have or require further information is allowed after at least 24 hours
Reply
#9

instead of %.2f KM try just %f
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)