Jump to content

طلب فنكشن


Recommended Posts

Posted

السلام عليكم ورحمة الله وبركاته

ابي فنكشن يتاكد ان الاعب برتبة محددة حتى تفتح له اللوحة

facebooke : https://www.facebook.com/jaber.pro

skype : delete

Email : [email protected] :D

احلام الناس لا نهاية لها

لا يجدر بنا القلق على مقدرتنا لتحقيق أحلامنا ما دمنا نمتلك الرغبة في تحقيقها

Posted
السلام عليكم ورحمة الله وبركاته

ابي فنكشن يتاكد ان الاعب برتبة محددة حتى تفتح له اللوحة

--# 
isObjectInACLGroup 

 My new GCSS Script : Go 
حصريا : مود الدردشة بين السيرفرات : الذهاب

LUA progress = -100%

Join us :

 Multi Theft Auto Arab 

I'm not the best but, i'm different

Skype : kamel1234128

Someone in this world needs to remember my love .

Posted

?????????????

bindkey("F1",down,window, 
function() 
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then 
guiSetVisible(window,true) 
showCursor ( true ) 
end 
end) 

facebooke : https://www.facebook.com/jaber.pro

skype : delete

Email : [email protected] :D

احلام الناس لا نهاية لها

لا يجدر بنا القلق على مقدرتنا لتحقيق أحلامنا ما دمنا نمتلك الرغبة في تحقيقها

Posted (edited)
?????????????
bindkey("F1",down,window, 
function() 
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then 
guiSetVisible(window,true) 
showCursor ( true ) 
end 
end) 

guiSetVisible == server SIDE ? :?

showCursor == server SIDE :o

-- تسوي ترايقر للكلنت بعد التحقق من أن الاعب بالقروب المحدد ...

triggerClientEvent 
if -- للتحقق من أن الهدف هو الاعب المحلي 
guiSetVisible -- تسوي إظهار للوحة بعد التحقق 
  
showCursor -- تسوي إظهار الماوس ^ 

Edited by Guest

 My new GCSS Script : Go 
حصريا : مود الدردشة بين السيرفرات : الذهاب

LUA progress = -100%

Join us :

 Multi Theft Auto Arab 

I'm not the best but, i'm different

Skype : kamel1234128

Someone in this world needs to remember my love .

Posted
--server 
  
bindkey("F1",down,window, 
function() 
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then 
triggerClientEvent(sourc,"open") 
end 
end) 
  
--client 
function open() 
guiSetVisibe(window,true) 
showCursor(true) 
end 
addEevent("open",true) 
addEeventHandler("open",source,open) 

Now??

facebooke : https://www.facebook.com/jaber.pro

skype : delete

Email : [email protected] :D

احلام الناس لا نهاية لها

لا يجدر بنا القلق على مقدرتنا لتحقيق أحلامنا ما دمنا نمتلك الرغبة في تحقيقها

Posted
--server 
  
bindkey("F1",down,window, 
function() 
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then 
triggerClientEvent(sourc,"open") 
end 
end) 
  
--client 
function open() 
guiSetVisibe(window,true) 
showCursor(true) 
end 
addEevent("open",true) 
addEeventHandler("open",source,open) 

Now??

--server 
  
bindkey("F1",down,window, 
function() 
local accName = getPlayerAccount( source ) 
if (not accName or isGuestAccount) then return 
else 
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then 
triggerClientEvent(source,"open") 
end 
end 
end) 
  
--client 
function open( local_P ) 
if (local_P == localPlayer) then 
guiSetVisibe(window,true) 
showCursor(true) 
end 
end 
addEevent("open",true) 
addEeventHandler("open",source,open) 

 My new GCSS Script : Go 
حصريا : مود الدردشة بين السيرفرات : الذهاب

LUA progress = -100%

Join us :

 Multi Theft Auto Arab 

I'm not the best but, i'm different

Skype : kamel1234128

Someone in this world needs to remember my love .

Posted
--server 
  
bindkey("F1",down,window, 
function() 
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then 
triggerClientEvent(sourc,"open") 
end 
end) 
  
--client 
function open() 
guiSetVisibe(window,true) 
showCursor(true) 
end 
addEevent("open",true) 
addEeventHandler("open",source,open) 

Now??

--server 
  
bindkey("F1",down,window, 
function() 
local accName = getPlayerAccount( source ) 
if (not accName or isGuestAccount) then return 
else 
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then 
triggerClientEvent(source,"open") 
end 
end 
end) 
  
--client 
function open( local_P ) 
if (local_P == localPlayer) then 
guiSetVisibe(window,true) 
showCursor(true) 
end 
end 
addEevent("open",true) 
addEeventHandler("open",source,open) 

thank you :D

facebooke : https://www.facebook.com/jaber.pro

skype : delete

Email : [email protected] :D

احلام الناس لا نهاية لها

لا يجدر بنا القلق على مقدرتنا لتحقيق أحلامنا ما دمنا نمتلك الرغبة في تحقيقها

Posted (edited)
^

حياك الله ^^

!! كودك فيه اغلاط

يصير كذا

#Server Side

bindKey ( "الزر الي تبيه", "down", function ( player ) 
local Account = getAccountName ( getPlayerAccount ( player ) ) 
    if not ( Account ) or isGuestAccount ( Account ) then return end 
        if ( isObjectInACLGroup ( "user."..Account, aclGetGroup ( "الرتبه الي تبيها" ) ) ) then 
            triggerClientEvent ( player, "OpenWindow", player ) 
        end 
    end  
) 

#Client Side

addEvent ( "OpenWindow", true ) 
addEventHandler ( "OpenWindow", root,  
    function (    ) 
            guiSetVisible ( اسم النافذهـ, true ) 
        showCursor ( true ) 
    end 
) 
Edited by Guest

* There is no God but Allah, Mohammed is the Messenger Of Allah

Posted
^

عوافي ...

.. :D للتوضيح بس وللافادهـ

* There is no God but Allah, Mohammed is the Messenger Of Allah

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