addEvent("1", true)--1 رقم اليفينت الي في الكلنت
addEventHandler("1", getRootElement(),--1 رقم الايفينت الي في الكلنت
function()
account = getPlayerAccount(thePlayer)
if (account) and not ( isGuestAccount(account)) then
setAccountData(account,"theWheel")
end
if isPedInVehicle(source) then
if ( getPlayerMoney (source) >= 1000) then--التاكد من ان معه 1000
takePlayerMoney(source, 1000)--سحب منه 1000
addVehicleUpgrade(getPedOccupiedVehicle(source),1074)--1074 رقم الجنط
outputChatBox("~| تـم تركيب آلجنـط بنجـآح |~", source, 255, 255, 0, true)-اذا تمت العمليه يظهر نص في الشات
else
outputChatBox("Not enough money.", source, 255, 0, 0, true)-- اذا ما معه فوس يظهر نص في الشات
end
else
outputChatBox("~| خطأ : يجب ان تكون رآكب سيارة |~", source, 255, 0, 0, true)--اذا لم يكن في السيارة يظهر نص في الشات
end
end
)
بهذا الككود الي حطيته يسير يحفظ ؟؟