[Blood]Hitman Posted October 25, 2012 Share Posted October 25, 2012 function playerDamage(attacker, weapon) local Team = getTeamFromName("Police") local aTeam = getPlayerTeam(attacker) if Team and aTeam and Team == aTeam and (weapon == 3) then setElementPosition(source, x, y, z) end end addEventHandler("onPlayerDamage", root, playerDamage) انا شفت دا الكود في احد المواضيع وهو مال اذا تضرب احد بالهروة يوديه للسجن والي ابغيه مثلا اذا راح احد السجن ياخذ وقت معين ويطلع يعني مدة يقعد في السجن وبعدين يطلع ممكن او لا Link to comment
TAPL Posted October 25, 2012 Share Posted October 25, 2012 setTimer(setElementPosition, 60000, 1, source, x, y, z) Link to comment
[Blood]Hitman Posted October 25, 2012 Author Share Posted October 25, 2012 شكرا بس انا مبتدأ ممكن تدمجه مع الكود الاصلي Link to comment
TAPL Posted October 25, 2012 Share Posted October 25, 2012 شكرا بس انا مبتدأ ممكن تدمجه مع الكود الاصلي حطه بسطر 11 Link to comment
iPrestege Posted October 25, 2012 Share Posted October 25, 2012 (edited) تآبل يوم جبت كود قبل بموضوع ثاني قلت لي سارق ؟ حرامي ؟ ويوم جاب آخونا الكود عادي ؟ لآتحذف الرد جاوبني ؟ Edited October 25, 2012 by Guest Link to comment
[Blood]Hitman Posted October 25, 2012 Author Share Posted October 25, 2012 اوكي مشكور 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