05.05.2015, 20:12
SacrificeGaming yes i have
Quote:
if(IsPlayerInRangeOfPoint(playerid, 6, 2197.660644, -2662.190185, 13.546875)) { new vehicleid = GetPlayerVehicleID(playerid); if(IsATruckerCar(vehicleid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); DisablePlayerCheckpoint(playerid); gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE; TogglePlayerControllable(playerid, 0); SetPVarInt(playerid, "TruckDeliver", 1); SetPVarInt(playerid, "IsFrozen", 1); LoadTruckBar[playerid] = CreateProgressBar(258.00, 137.00, 131.50, 3.19, COLOR_GREEN, 100.0); SetProgressBarValue(LoadTruckBar[playerid], 100.0); ShowProgressBarForPlayer(playerid, LoadTruckBar[playerid]); SetTimerEx("LoadTruck", 1000, 0, "d", playerid); } else return SendClientMessage(playerid, COLOR_GREY, "You're not driving an Ocean Docks Truck!"); } |