Best-Killer1 Posted October 10, 2015 Share Posted October 10, 2015 Hello i tried to make the gate open for staffs too but it's not work what is the problem ?? this code : --- GATE SYSTEM BY DARHAL --- miniDistance = 3 --RESOURCE SETTINGS --HERE CHANGE THE RESOURCE NAME TO THE GROUPS SYSTEM THAT YOU USE local GROUPS_RESOURCE_NAME = "SAEGGroups" -- CHANGE THAT LINE TO YOUR GROUP SYSTEM NAME function GPG(plr) if plr and getACC(plr) then return exports.SAEGGroups:getPlayerGroup ( plr) or exports.SAEGAdministration:isPlayerStaff ( plr) end end -- GATE MANAGERS LIST (ACCOUNT NAME) managers = { --[[YOU CAN ADD ANY ACCOUNT BY SIMPLY ADDING THIS LINE : "account name", To the list above--]] "oussama", "", } -- ALLOWED OBJECTS THAT MANAGERS CAN USE TO PLACE GATE allowedModels = { 980 , 967 , 16773 , 10829 , 10832, 2990 , 2933 , 971 , 9042 , 8957, 3089, 2955 , 2947 , 2924 , 2911 , 1491 , 1504 , 1505 , 1507 , 1523 , 1557 , 8378 , 10671 , 11313 , 10641 , 7910 , 10149, 16775, 2634, } Link to comment
1LoL1 Posted October 10, 2015 Share Posted October 10, 2015 Post the errors or warnings. Try this. if i'am wrong sorry --- GATE SYSTEM BY DARHAL --- miniDistance = 3 --RESOURCE SETTINGS --HERE CHANGE THE RESOURCE NAME TO THE GROUPS SYSTEM THAT YOU USE local GROUPS_RESOURCE_NAME = "SAEGGroups" -- CHANGE THAT LINE TO YOUR GROUP SYSTEM NAME function GPG(plr) if plr and getACC(plr) then return exports.SAEGGroups:getPlayerGroup ( plr) or exports.SAEGAdministration:isPlayerStaff ( plr) end end -- GATE MANAGERS LIST (ACCOUNT NAME) managers = { --[[YOU CAN ADD ANY ACCOUNT BY SIMPLY ADDING THIS LINE : "account name", To the list above--]] "oussama", "", } -- ALLOWED OBJECTS THAT MANAGERS CAN USE TO PLACE GATE allowedModels = { "980", "967", "16773", "10829", "10832", "2990", "2933", "971", "9042", "8957", "3089", "2955", "2947", "2924", "2911", "1491", "1504", "1505", "1507", "1523", "1557", "8378", "10671", "11313", "10641", "7910", "10149", "16775", "2634", } Link to comment
Best-Killer1 Posted October 10, 2015 Author Share Posted October 10, 2015 Post the errors or warnings.Try this. if i'am wrong sorry --- GATE SYSTEM BY DARHAL --- miniDistance = 3 --RESOURCE SETTINGS --HERE CHANGE THE RESOURCE NAME TO THE GROUPS SYSTEM THAT YOU USE local GROUPS_RESOURCE_NAME = "SAEGGroups" -- CHANGE THAT LINE TO YOUR GROUP SYSTEM NAME function GPG(plr) if plr and getACC(plr) then return exports.SAEGGroups:getPlayerGroup ( plr) or exports.SAEGAdministration:isPlayerStaff ( plr) end end -- GATE MANAGERS LIST (ACCOUNT NAME) managers = { --[[YOU CAN ADD ANY ACCOUNT BY SIMPLY ADDING THIS LINE : "account name", To the list above--]] "oussama", "", } -- ALLOWED OBJECTS THAT MANAGERS CAN USE TO PLACE GATE allowedModels = { "980", "967", "16773", "10829", "10832", "2990", "2933", "971", "9042", "8957", "3089", "2955", "2947", "2924", "2911", "1491", "1504", "1505", "1507", "1523", "1557", "8378", "10671", "11313", "10641", "7910", "10149", "16775", "2634", } 0 errors and your code not work 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