aboodehoms2014 Posted August 26, 2016 Share Posted August 26, 2016 (edited) السلام عليكم ورحمة الله وبركاته انا سويت سكريبت لسيرفري الشوتر السكريبت هو انه لما اقتل احد اخد تصليح لسيارتي بشكل تلقائي بس للاسف ما اشتغل ياريت تفيدوني وتساعدوني وين المشكلة client addEventHandler('onClientVehicleDamage',root, function(attacker) if attacker and getElementType(attacker) == 'player' and attacker ~= getVehicleOccupant(source) then triggerServerEvent('shooter:setData',getVehicleOccupant(source),'killer1222',attacker) setTimer(triggerServerEvent,4000,1,'shooter:setData',getVehicleOccupant(source,0),'killer1222',false) end end ) -- addEventHandler('onClientPlayerWasted',root, function(killer) if getElementData(source,'killer1222') ~= false and getElementData(source,'killer1222') ~= source then fixVehicle(killer1222) end end ) server addEvent('shooter:setData',true) addEventHandler('shooter:setData',root, function(dataname,datavalue) setElementData(client,dataname,datavalue) end ) Edited August 26, 2016 by Guest Link to comment
aboodehoms2014 Posted August 26, 2016 Author Share Posted August 26, 2016 الكود مو موضح استعمل تم Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now