SWAT-M7MD Posted May 28, 2019 Share Posted May 28, 2019 addEventHandler("onClientPedDamage",resourceRoot, function ( ) if ped then cancelEvent() end ) عم احاول اسوي كود يخلي البيد اللي في السيرفر ما يقتلهم الاعبين بس ما زبطت معي Link to comment
#BrosS Posted May 28, 2019 Share Posted May 28, 2019 (edited) MrPed = createPed(0 ,x ,y, z) addEventHandler("onClientPedDamage",MrPed, function() cancelEvent() end ); x, y, z احداثيات البيد حقك Edited May 28, 2019 by #BrosS Link to comment
SWAT-M7MD Posted May 28, 2019 Author Share Posted May 28, 2019 11 minutes ago, #BrosS said: MrPed = createPed(0 ,x ,y, z) addEventHandler("onClientPedDamage",MrPed, function() cancelEvent() end ); x, y, z احداثيات البيد حقك انا ابي اسوي البيد اللي ف كل السرفر مو واحد فقط Link to comment
+Source|> Posted May 28, 2019 Share Posted May 28, 2019 5 hours ago, SWAT-M7MD said: انا ابي اسوي البيد اللي ف كل السرفر مو واحد فقط أعتقد كذا جرب addEventHandler("onClientPedDamage",root, function() if isElement == "ped" then cancelEvent() end end ); 1 Link to comment
Rockyz Posted May 28, 2019 Share Posted May 28, 2019 1 minute ago, +Source|> said: أعتقد كذا جرب addEventHandler("onClientPedDamage",root, function() if isElement == "ped" then cancelEvent() end end ); وش مسوي انت 1 Link to comment
+Source|> Posted May 28, 2019 Share Posted May 28, 2019 Just now, #,xiRocKyz said: وش مسوي انت العيد صح Link to comment
Guest Posted May 29, 2019 Share Posted May 29, 2019 function Damage ( attacker ) cancelEvent() end addEventHandler ( "onClientPedDamage", root, Damage ) 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