09.01.2013, 17:34
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;
}