Hello, i have a script when a player drives through a cluck 'n bell drivethru and gets food, but when player has no money he still gets the food, only the money goes to the negative, what can i do when the player doesn't have any money, it wouldn't give him food and take no money? 
Script: 
 
local marker = createMarker( 2377.60, -1909.09, 13.39, "cylinder", 3, 255, 0, 0, 100 ) 
  
addEventHandler("onMarkerHit", marker, 
function(hitElement) 
if (getElementType(hitElement) == "player") then 
setElementHealth(hitElement, 200 ) 
takePlayerMoney(hitElement, 1) 
outputChatBox( "you bought chicken", hitElement, 0, 255, 0 ) 
end 
end 
) 
  
function setBlip1( ) 
    local blip1 = createBlip( 2377.60, -1909.09, 13.39, 14, root ) 
setBlipVisibleDistance( blip1, 10000 ) 
end 
addEventHandler( "onResourceStart", root, setBlip1 ) 
 
Sorry for my english.