Hi,i'm new here ,and i'm noob ,i wanna know how to put a time of 3 minutes to get this command what i gave of this forum ,i wanna know then i can put that and the player could'nt abuse of this command ,i'm going to leave this ,please help me (sorry for mi noob english)
function fix (playerSource)
local theVehicle = getPedOccupiedVehicle (playerSource)
if theVehicle and getVehicleController ( theVehicle ) == playerSource then
fixVehicle (theVehicle)
outputChatBox ("Your vehicle has been repaired !" , thePlayer)
end
end
addCommandHandler ("repair" , fix)