Simple. Posted October 3, 2012 Share Posted October 3, 2012 آلسسلآإم عليكمِ آخبار آلزقرتِ انا سويتِ نآفذه لكن آبيهاَ تفتحِ لـ قروب Admin بسِ بغيتِ آلكود لآهنتَم Link to comment
./BlackBird# Posted October 3, 2012 Share Posted October 3, 2012 server side : if isObjectInACLGroup ( "user."..getPlayerName(thePlayer), aclGetGroup ( "Admin" ) ) then Link to comment
===[PRO]=== Posted October 3, 2012 Share Posted October 3, 2012 if isObjectInACLGroup ( "user."..getPlayerName(thePlayer), aclGetGroup ( "Admin" ) ) then bindKey Link to comment
==>ҭᾄlᾄl Posted October 3, 2012 Share Posted October 3, 2012 getPlayerName(thePlayer) ???????? ---سيرفر function open() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then---Admin اسم القروب triggerClientEvent(source,"openVIP",source) end end addEvent("onOpen",true) addEventHandler("onOpen",getRootElement(),open) ---كلنت function open() triggerServerEvent("onOpen",getLocalPlayer()) end bindKey("F4","down",open) function vip() if guiGetVisible(GUIEditor_Window[1]) then---GUIEditor_Window[1] اسم النافذه guiSetVisible(GUIEditor_Window[1],false)---GUIEditor_Window[1] اسم النافذه showCursor(false) guiSetInputEnabled(false) else guiSetVisible(GUIEditor_Window[1],true)---GUIEditor_Window[1] اسم النافذه showCursor(true) guiSetInputEnabled(true) end end addEvent("openVIP",true) addEventHandler("openVIP",getRootElement(),vip) 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