Jump to content

ابي كود


Recommended Posts

onClientPlayerDamage 

weapon: An integer representing the weapon ID the attacker used ,

( Nightstick id = 3 )

مثال ,

function stop ( attacker, weapon, bodypart ) 
    if ( weapon == 3 ) then --if the weapon used was the Police Stick 
        cancelEvent() --cancel the event 
    end 
end 
addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), stop ) 

اتوقع وضحت معك . .

Edited by Guest
Link to comment
السلام وعلييكم

ابي كود لما شرطي يضرب بالعصا ماراح يقبض على الحرامي

مع شرح اذا كان ممكن

اجل ليه تبي كود ؟

يب ليه اصلا يبيه كذا هو من الاول ما يقدر

بس اضن انه مربوط بالقيم مود ربما

Link to comment
صاحب الموضوع ماوضح فكرة المود الي بيسويه ^_^

المفروض تقول ليه تبيه لما يضربه مايقدر يمسكه

هو من البدايه مايقدر يمسكه :/

الا اذا كنت حاط مود سجن :roll:

يب مركب السجن

لما شرطي يضرب بالعصا يمسكو

بس خلاص حلييت المشكلة مششكور اخي max+

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...