Error, why? omg
#3

pawn Код:
new form[128];
                    new vehicle = GetPlayerVehicleID(i);
                    new Float: Speed;
                    Speed = GetSpeed(i);
                    if(!OutOfFuel[i])
                    {
                        if(Fuel[vehicle] <= 25)
                        {
                            if(EngineStatus[vehicle])
                            {
                               
                                if(Speed > 0)
                                {
                                    format(form, sizeof(form), "~w~~n~~n~~n~~n~~n~~n~~y~Motor a trabalhar.~n~~w~Combustivel:~g~ %d%~n~~r~Gdeposito na reserva. ",Fuel[vehicle],GetSpeedKM(i));
                                    GameTextForPlayer(i,form,1000,5);
                                }
                            }
                            else
                            {
                                format(form, sizeof(form), "~w~~n~~n~~n~~n~~n~~n~~y~Motor a trabalhar.~n~~w~Combustivel:~g~ %d%~n~~r~deposito na reserva. ",Fuel[vehicle],GetSpeedKM(i));
                                GameTextForPlayer(i,form,1000,5);
                            }
                        }
                        else
                        {
                            if(EngineStatus[vehicle])
                            {
                               
                                if(Speed > 0)
                                {
                                    format(form, sizeof(form), "~w~~n~~n~~n~~n~~n~~n~~y~Motor a trabalhar.~n~~w~Combustivel:~g~ %d%~n~~r~deposito na reserva. ",Fuel[vehicle],GetSpeedKM(i));
                                    GameTextForPlayer(i,form,1000,5);
                                }
                            }
                            else
                            {
                                format(form, sizeof(form), "~w~~n~~n~~n~~n~~n~~n~~y~Motor a trabalhar.~n~~w~Combustivel:~g~ %d%~n~~r~deposito na reserva. ",Fuel[vehicle],GetSpeedKM(i));
                                GameTextForPlayer(i,form,1000,5);


                           
                                                        }
                                else
                            {
                                format(form, sizeof(form), "~w~~n~~n~~n~~n~~n~~n~~y~Motor desligado.~n~~w~Combustivel:~g~ %d%    ",Fuel[vehicle],GetSpeedKM(i));
                                GameTextForPlayer(i,form,1000,5);
                            }
                          }
                    }
                }
Try this and tell, it MAY work

EDIT: JUST MOVE THE BRACKET beside "//here" a little bit to the right like other brackets
Reply


Messages In This Thread
Error, why? omg - by Rafael_Rodgers - 01.10.2012, 17:13
Re: Error, why? omg - by Mr.Anonymous - 01.10.2012, 17:15
Re: Error, why? omg - by Red_Dragon. - 01.10.2012, 17:15
Re: Error, why? omg - by Mr.Anonymous - 01.10.2012, 17:17
Re: Error, why? omg - by Rafael_Rodgers - 01.10.2012, 17:18
Re: Error, why? omg - by Mr.Anonymous - 01.10.2012, 17:19
Re: Error, why? omg - by Rafael_Rodgers - 01.10.2012, 17:21
Re: Error, why? omg - by Red_Dragon. - 01.10.2012, 17:21
Re: Error, why? omg - by Rafael_Rodgers - 01.10.2012, 17:23
Re: Error, why? omg - by Mr.Anonymous - 01.10.2012, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)