Jump to content

تكرار الكيك


mody134

Recommended Posts

استخدم تايمر بالسيرفر يوم يعطي كيك اذا مانتهى التايمر مايسوي الكيك او سوي بالكلنت اذا ضغط الزر ينتظر بس يمكن يضغطة ومايصير كيك فـ بيتوقف مثلاً دقايق او ثواني محددها انت

Link to comment
addEventHandler("onPlayerQuit", root,
function (guittype, _, kickPlayer)
    if guittype == "Kicked" then
        if getElementData(kickPlayer,"spamkicked") == 2 then
        cancelEvent()
        banPlayer (kickPlayer, false, false, true, root, 'محاولة تكرار الكيك فاشلة !')
        else
        setElementData(kickPlayer,"spamkicked",getElementData(kickPlayer,"spamkicked") + 1)
        mytimer[kickPlayer] = setTimer(setElementData,60000,3,kickPlayer,"spamkicked",0)
        end
	end
end)

addEventHandler("onPlayerJoin", root,
function ()
setElementData(source,"spamkicked",0)
end)

الكود ذا صحيح ؟ 
 

 

 

Edited by mody134
Link to comment
44 minutes ago, mody134 said:

addEventHandler("onPlayerQuit", root,
function (guittype, _, kickPlayer)
    if guittype == "Kicked" then
        if getElementData(kickPlayer,"spamkicked") == 2 then
        cancelEvent()
        banPlayer (kickPlayer, false, false, true, root, 'محاولة تكرار الكيك فاشلة !')
        else
        setElementData(kickPlayer,"spamkicked",getElementData(kickPlayer,"spamkicked") + 1)
        mytimer[kickPlayer] = setTimer(setElementData,60000,3,kickPlayer,"spamkicked",0)
        end
	end
end)

addEventHandler("onPlayerJoin", root,
function ()
setElementData(source,"spamkicked",0)
end)

الكود ذا صحيح ؟ 
 

 

 

تفضل اخوي المود كامل

http://up.top4top.net/downloadf-3166b9ay1-zip.html

بس لازم تروح جروب ادمن وتضيفه يعني

روح ادمن كانك بتعطي رتبه لواحد وسوي كذا

resource.7maya-tkrar-kick

 

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