ByeByeMTA Posted August 5, 2016 Share Posted August 5, 2016 السلام عليكم ابي الكلمة hacker تشتغل على 5 سيريالات انا احطها غير ال 5 سيريالات يسوي cancelEvent وشكرا Link to comment
[DONE]* Posted August 5, 2016 Share Posted August 5, 2016 local ser = { ["ser1"] = true, ["ser2"] = true, ["ser3"] = true, ["ser4"] = true, ["ser5"] = true, } addCommandHandler ( "hacker", function(player) local playerSer = getPlayerSerial(player) if ser[playerSer] then end end) Link to comment
ByeByeMTA Posted August 5, 2016 Author Share Posted August 5, 2016 local ser = { ["ser1"] = true, ["ser2"] = true, ["ser3"] = true, ["ser4"] = true, ["ser5"] = true, } addCommandHandler ( "hacker", function(player) local playerSer = getPlayerSerial(player) if ser[playerSer] then end end) cancelEvent وينه ؟ ولا مايحتاج لانه مافيه افنت ؟ Link to comment
#kAsR Posted August 5, 2016 Share Posted August 5, 2016 ^ هاذا كوماند بس لو تبي تستخدمها استخدم onPlayerCommand getPlayerSerial cancelEvent Link to comment
ByeByeMTA Posted August 5, 2016 Author Share Posted August 5, 2016 الكود خربان اي واحد يمديه يكتب hacker وتطلع له اللوحة ابي كود شغال ويكنسل الافنت اذا شيك على السيريالات Link to comment
#kAsR Posted August 5, 2016 Share Posted August 5, 2016 ^ جرب local OtherSerials = { ["....."] = true, } addEventHandler("onPlayerCommand",root, function ( TheCommand ) if ( TheCommand == "hacker" or TheCommand == "HACKER" ) then if ( not OtherSerials [ getPlayerSerial ( source ) ] ) then cancelEvent ( ) end end end ) Link to comment
ByeByeMTA Posted August 5, 2016 Author Share Posted August 5, 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