#4

Well that depends on your fuel systems, I suggest you take an existing one and edit it with the code I gave to you before. To check the car fuel type is easy like:
pawn Код:
new carid = GetPlayerVehicleID(playerid);
if(FuelType[carid] == DIESEL) // This is for a Diesel station
{
    // Do things
}
else
{
    SendClientMessage(playerid, 0xFF0000C8, "This station is only for Diesel cars!");
    return 1;
}
Reply


Messages In This Thread
Fuel - by erorche - 09.01.2013, 12:47
Re: Fuel - by Fabio11 - 09.01.2013, 13:05
Re: Fuel - by erorche - 09.01.2013, 14:18
Re: Fuel - by Fabio11 - 09.01.2013, 17:34

Forum Jump:


Users browsing this thread: 1 Guest(s)