[Question] speedometer
#1

Hello.

I have a small question about a speedometer. I dont know how to make it. I need this: Name, Speed, Height, Health and at last a GPS. This is the example how I want it:
Name: Turismo
Speed: 456 km/h
Height 12.3 m
Health 800
Fuel: 52
GPS: Los Santos Airport


I dont ask if anyone want to make it for me. But can anyone tell me more about it? Today I tried it a lot without any good result.
So anyone that will me help?
Thanks.


PS:

I want it in a textdraw. Thanks for reading ! hope anyone can help me.
Reply
#2

You write like you want somebody to make it for you if yu want that you got to post this in Scripring Request Thread
Reply
#3

Quote:
Originally Posted by ThePrograme
Посмотреть сообщение
You write like you want somebody to make it for you if yu want that you got to post this in Scripring Request Thread
Can't you read? he ask if anyone tell more about it. [
Quote:
Originally Posted by leomessie
Посмотреть сообщение
I dont ask if anyone want to make it for me. But can anyone tell me more about it?
Reply
#4

some functions you will need:
pawn Код:
GetVehicleVelocity
GetVehicleModel(GetPlayerVehicleID(playerid) );
GetVehicleHealth
TextDrawCreator ( this is not function) ..search for Zamaroht's Textdraw to make a textdraw, and make a box..after use it in combination with what i said..and what you learning and yeah a nice Fuel system

new Fuel = 100;
forward FuelLost(vehicleid);
public FuelLost(vehicleid)
{
       Fuel --;
      if(Fuel == 0)
     {
              for(new i = 0;i != MAX_PLAYERS;i++)
               {
                         RemovePlayerFromVehicle(i);
                }
     }
     return 1;
}

OnPlayerEnterVehicle(playerid,vehicleid,isspasanger)
{
        SetTimerEx("FuelLost", 3000, true, "d", vehicleid);
       return 1;
}
watch here for functions and what they do and how to use it...
https://sampwiki.blast.hk/

And after watch on forum for some tutorials good luck
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)