جرب الكود وتكلم + في غلط عندك في كودك اللي فوق
if alpa == 0 then
??
if alpha == 0 then
^
+ الارقمنت اللي في كود setTimer اللي هو true
م منه اي داعي
+ كودك مو مرتب
@Kemo : عندك اخطاء
kem = {"Block",} > kem = {"Block"}
+
function isPlayerNotAllowed(ply)
for _, acl_ in ipairs (kem) do
if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(ply)),aclGetGroup(acl_)) then
return true
end
end
end
+
صاحب الموضوع عدل ع الكود هذا
if isPlayerAllowed(source) == false then outputChatBox("لايمكنك أخد رتبة لأنك محظور" , source , 255 , 0 , 0 , true ) return end
الى
if isPlayerNotAllowed(source) == true then outputChatBox("لايمكنك أخد رتبة لأنك محظور" , source , 255 , 0 , 0 , true ) return end
getCountPlayerInTeam
Client and Server Side !
Syntax
int getCountPlayerInTeam ( team )
function getCountPlayerInTeam ( team )
assert ( isElement ( team ) and getElementType ( team ) == "team", "Bad argument @ getCountPlayerInTeam [ team expected, got " .. type ( team ) .. " ]" )
local countPlayer = 0
for _,v in ipairs ( getElementsByType ( "player" ) ) do
if ( getPlayerTeam ( v ) == team ) then
countPlayer = countPlayer + 1
end
end
return countPlayer
end
Wiki :
https://wiki.multitheftauto.com/wiki/Ge ... ayerInTeam
إيه اضمن لك بكثيييييييييييييييييييييييييييييييييييييييييييييييييير
اللوحة تفتح لك ثغرات بالخادم غير نهائية ( إذا كان التركيب مو مضبوط) !
ومثل م قال لك تنطيل فيها ثغرة يعني ابعد عنها