02.04.2012, 01:23
pawn Код:
public Refueling_Timer(playerid)
{
new VehicleIdentificationNumber = GetPlayerVehicleID(playerid);
Petrol[VehicleIdentificationNumber] = Petrol[VehicleIdentificationNumber] = 100;
IsCarRefueling[playerid] = 0;
TextDrawHideForPlayer(playerid, gPetrol[playerid]); // check https://sampwiki.blast.hk/wiki/TextDrawHideForPlayer
TextDrawSetString(gPetrol[playerid],"Petrol:100");
TextDrawShowForPlayer(playerid, gPetrol[playerid]); // check https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
TogglePlayerControllable(playerid,1);
}