Jump to content

صح ام لا


Recommended Posts

السلام عليكم اليوم حبيت اعمل مود اذا سياره تفجرت ترجع تاني مكانها
function respawnVehicle() 
    setTimer(respawnVehicle, 5000, 1, source) 
end 
addEventHandler("onVehicleExplode", getRootElement(), respawnVehicle) 

؟؟ ملاحظة انا تعلمت من الوييكي :roll:

اي صح .. دامك ماخذ الكود كوبي بيست من الويكي اكيد بيكون صح .

Link to comment
الاسف مااشتغل :|

همممممم .. جرب غير اسم الوظيفة لانه اسم الوظيفة حقتك ذي موجودة بالويكي

جرب كذا ..

function respawnVehiclee() 
    setTimer(respawnVehicle, 5000, 1, source) 
end 
addEventHandler("onVehicleExplode", root, respawnVehiclee) 

Link to comment
السلام عليكم اليوم حبيت اعمل مود اذا سياره تفجرت ترجع تاني مكانها
function respawnVehicle() 
    setTimer(respawnVehicle, 5000, 1, source) 
end 
addEventHandler("onVehicleExplode", getRootElement(), respawnVehicle) 

؟؟ ملاحظة انا تعلمت من الوييكي

الكود مافيه أي مشكله وترجع السياره مكانها كل 5 ثواني

وعلى ماأضن المكان اللي تنزل فيه السياره يرجع فيه ..

إذا تبيه كل ثانيه

function respawnVehicle() 
    setTimer(respawnVehicle, 1000, 1, source) 
end 
addEventHandler("onVehicleExplode", getRootElement(), respawnVehicle) 

أو إذا ماضبط هذا مود من الموقع الرسمي

Script Vehicle Respawn By Libor332

https://community.multitheftauto.com/ind ... ls&id=6776

بآلتوفيق ..

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...