25.11.2013, 17:30
ohh silly me :P thank you again
if you don't mind I want to raise vehicle fuel if I will use can so if I have 10 fuel and if I have gascan I will add +5 fuel to car, is this correct code?
can't test on my own I'm in hurry :/
if you don't mind I want to raise vehicle fuel if I will use can so if I have 10 fuel and if I have gascan I will add +5 fuel to car, is this correct code?
pawn Код:
if(GCS[playerid] == 1)
{
GCS[playerid] --;
Carinfo[vehicleid][F] += 5; // Refilling vehicle with 5 liters of fuel
return 1;
}