Hello i need help with this please!
Menu_client.lua:721 attempt to compare a number with boleaan
if itemName == "EngineOne" then if getElementData(getLocalPlayer(),"Tamir Çantası") >= 1 then
if (getElementData(getLocalPlayer(),"Motor") or 0) > 0 then
local col = getElementData(getLocalPlayer(),"currentCol")
triggerServerEvent("playeRepairingAnim",localPlayer,2)
setElementData(col,"Motor_inVehicle",(getElementData(col,"Motor_inVehicle") or 0)+1)
setElementData(getLocalPlayer(),"Motor",(getElementData(getLocalPlayer(),"Motor") or 0)-1)
triggerServerEvent("playeRepairingAnim",localPlayer,2)
startRollMessage2("Inventory", "Bir motor koyuldu!", 22, 255, 0 )
else
startRollMessage2("Inventory", "Sende Motor Yok!", 255, 22, 0 )