0 Üye ve 1 Ziyaretçi konuyu incelemekte.
fixparasi = 5000paraverisi = "cash"addEvent("fixle",true)addEventHandler("fixle",root,function () hesap = getPlayerAccount(source) if not isGuestAccount(hesap) then local para = tonumber(getAccountData(hesap,paraverisi)) if para > fixparasi then setAccountData(hesap,paraverisi,para-fixparasi) outputChatBox(getPlayerName(source).." VIP Panel'den aracını tamir ettirdi.",root,255,0,0,true) else outputChatBox("Aracı tamir etmek için "..fixparasi.."$ gerekli." ,source,255,0,0,true) end else outputChatBox("Bir hesaba giriş yapın!",source,255,0,0,true) endend)
function flipVer()if isPedInVehicle(localPlayer) then if source == flipbuton then-- if the local client is in a vehicle localVehicle = getPedOccupiedVehicle(localPlayer) if getVehicleController(localVehicle) == localPlayer then -- if the local client is the controller (driver) of the vehicle local rotX, rotY, rotZ = getElementRotation(localVehicle) -- get the local client's vehicle rotation setElementRotation(localVehicle,rotX,rotY+180,rotZ) -- turn the vehicle 10 degrees clockwise endendendendaddEventHandler("onClientGUIClick", getRootElement(), flipVer)
Çok saol oldu nitro ve tamiri hallettim server side kodu olduğu için fakat flip yani çevirme client kodu ama uyarlıyamadı.