Narutimmy Posted February 1, 2013 Share Posted February 1, 2013 Hola lo que pasa es que recuerdan en panel de F1 que sale en lso Freeoom? bueno quiero saber como hacer para que solo se abra a los de un grupo en el ACL? Link to comment
Arsilex Posted February 1, 2013 Share Posted February 1, 2013 restringuiendo el acesso al bind F1 Link to comment
Narutimmy Posted February 1, 2013 Author Share Posted February 1, 2013 restringuiendo el acesso al bind F1 Algo asi? addCommandHandler("VIP", function(source) if (isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(source)), aclGetGroup ( "VIP" ) ) ) then fadeCamera(true) setTimer(getPlayers, 1000, 1) bindKey('f1', 'down', toggleFRWindow) createWindow(wndMain) hideAllWindows() guiCheckBoxSetSelected(getControl(wndMain, 'jetpack'), doesPedHaveJetPack(g_Me)) guiCheckBoxSetSelected(getControl(wndMain, 'falloff'), canPedBeKnockedOffBike(g_Me)) setJetpackMaxHeight ( 9001 ) triggerServerEvent('onLoadedAtClient', g_ResRoot, g_Me) else outputChatBox("Acceso denegado", source, 255, 0, 0, true) end end ) Link to comment
Alexs Posted February 1, 2013 Share Posted February 1, 2013 Estas mezclando los lados, las de ACL son server, las del GUI son client. Link to comment
Narutimmy Posted February 1, 2013 Author Share Posted February 1, 2013 Estas mezclando los lados, las de ACL son server, las del GUI son client. creo que poreso no funciono >.< Link to comment
Other Languages Moderators Cuervo_fi Posted February 4, 2013 Other Languages Moderators Share Posted February 4, 2013 Estas mezclando los lados, las de ACL son server, las del GUI son client. creo que poreso no funciono >.< Intenta usar un triggerServerEvent para el comando. Link to comment
Recommended Posts