Mr.Mostafa Posted July 2, 2019 Share Posted July 2, 2019 سلام عليكم كل السيارات عندي بالسيرفر ما يحصلها شي , ما تدمج اكيد هادا مود كنت مسويه زمان ونسيته مافي طريقة اعرف وين المود هادا ؟ او اي حل عموما ؟ Link to comment
Mr.Mostafa Posted July 2, 2019 Author Share Posted July 2, 2019 7 hours ago, N3xT said: addDebugHook ما اعرف له الصراحة ولا كيف يستخدم وهادا بيطلعلي المودات الي فيها الامر ولا كيف اتمني تساعدني function onPreFunction(sourceResource, functionName, isAllowedByACL, luaFilename, luaLineNumber, ...) local args = {...} if functionName == "onClientVehicleDamage" then end end addDebugHook("preFunction", onPreFunction) Link to comment
SycroX Posted July 2, 2019 Share Posted July 2, 2019 50 minutes ago, Mr.Mostafa said: ما اعرف له الصراحة ولا كيف يستخدم وهادا بيطلعلي المودات الي فيها الامر ولا كيف اتمني تساعدني function onPreFunction(sourceResource, functionName, isAllowedByACL, luaFilename, luaLineNumber, ...) local args = {...} if functionName == "onClientVehicleDamage" then end end addDebugHook("preFunction", onPreFunction) استخدم preEvent افتح الويكي حق الوظيفه في هناك مثال لها Link to comment
Mr.Mostafa Posted July 2, 2019 Author Share Posted July 2, 2019 1 hour ago, +Source|> said: هذا اكيد مود ال Freeroam وش علاقة الفري روم ؟ ما فهمت 2 hours ago, #x1AhMeD-09 said: استخدم preEvent افتح الويكي حق الوظيفه في هناك مثال لها ما عرفت Link to comment
SycroX Posted July 3, 2019 Share Posted July 3, 2019 function onPreEvent( sourceResource, eventName, eventSource, eventClient, luaFilename, luaLineNumber, ... ) local args = {...} if eventName == "onClientVehicleDamage" then outputDebugString("DEBUG-HOOK : ' "..eventName.." ' [ "..getResourceName(sourceResource).."/"..luaFilename.."/"..luaLineNumber.." ]") end end addDebugHook("preEvent", onPreEvent) Link to comment
Mr.Mostafa Posted July 3, 2019 Author Share Posted July 3, 2019 8 hours ago, #x1AhMeD-09 said: function onPreEvent( sourceResource, eventName, eventSource, eventClient, luaFilename, luaLineNumber, ... ) local args = {...} if eventName == "onClientVehicleDamage" then outputDebugString("DEBUG-HOOK : ' "..eventName.." ' [ "..getResourceName(sourceResource).."/"..luaFilename.."/"..luaLineNumber.." ]") end end addDebugHook("preEvent", onPreEvent) ما طلع شي Link to comment
Mr.Mostafa Posted July 3, 2019 Author Share Posted July 3, 2019 8 hours ago, #x1AhMeD-09 said: function onPreEvent( sourceResource, eventName, eventSource, eventClient, luaFilename, luaLineNumber, ... ) local args = {...} if eventName == "onClientVehicleDamage" then outputDebugString("DEBUG-HOOK : ' "..eventName.." ' [ "..getResourceName(sourceResource).."/"..luaFilename.."/"..luaLineNumber.." ]") end end addDebugHook("preEvent", onPreEvent) 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