//_Dragon Posted December 7, 2015 Posted December 7, 2015 It's possible to make Cars only for Staff ( Admin/Mod/Console/S.Mod/Vip) ? & it's possible to make shop in f1 Check the picture for understand
Captain Cody Posted December 8, 2015 Posted December 8, 2015 https://wiki.multitheftauto.com/wiki/IsObjectInACLGroup All the info you shall need. accountname = getAccountName (getPlayerAccount(//Player//)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "vip" ) ) then
//_Dragon Posted December 8, 2015 Author Posted December 8, 2015 https://wiki.multitheftauto.com/wiki/IsObjectInACLGroupAll the info you shall need. accountname = getAccountName (getPlayerAccount(//Player//)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "vip" ) ) then ?? not this dude Any help ?
iPrestege Posted December 8, 2015 Posted December 8, 2015 Actually if you need the gui window only for staff then you should use what cody's gave you above and about the shop make you'r own one and bind it to F1 .
//_Dragon Posted December 8, 2015 Author Posted December 8, 2015 Actually if you need the gui window only for staff then you should use what cody's gave you above and about the shop make you'r own one and bind it to F1 . I'm not good scripter :3 i'm still 25% scripter Only i need some one give me the script ( cleint / server ) then i'll continue creating the mod
Captain Cody Posted December 8, 2015 Posted December 8, 2015 I supplied everything you will need. function guihunter () local accountname = getAccountName (getPlayerAccount(client)) <- From GUI if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "vip" ) ) then price = 0 else price =25000 end end else
//_Dragon Posted December 8, 2015 Author Posted December 8, 2015 I supplied everything you will need. function guihunter () local accountname = getAccountName (getPlayerAccount(client)) <- From GUI if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "vip" ) ) then price = 0 else price =25000 end end else Not working | i want make Only staff can get hydra & hunter & rhino , & player can't get them they most buy them from f1
DarkByte Posted December 9, 2015 Posted December 9, 2015 He is trying to clone grafuroam or you cant understand? Enter on that server and you will see this things on it.
//_Dragon Posted December 9, 2015 Author Posted December 9, 2015 He is trying to clone grafuroam or you cant understand? Enter on that server and you will see this things on it. Get fucking out of my topic | + i'm pro then u all mod's groam u have them u only stilling mods not creating new mod like me . so get out of my topic ok ? or .....
DarkByte Posted December 9, 2015 Posted December 9, 2015 Will you hurt me? Just trying to clone groam? Stealing ideas he calls it "new mods". Pff nebs these days.
Captain Cody Posted December 9, 2015 Posted December 9, 2015 + i'm pro then u If you were so you could figure out how to do this yourself. A "Pro" could do this in a matter of minutes, seeing as you're trying to copy someone elses server, help ends here.
//_Dragon Posted December 10, 2015 Author Posted December 10, 2015 + i'm pro then u If you were so you could figure out how to do this yourself. A "Pro" could do this in a matter of minutes, seeing as you're trying to copy someone elses server, help ends here. I'm saying i'm pro then him not i'm pro scripter Any one help me ?
Captain Cody Posted December 10, 2015 Posted December 10, 2015 The link I put contains everything you need, it checks if the playey is an a certain ACL, if so you can use that to lower the price, or set price to 0.
//_Dragon Posted December 10, 2015 Author Posted December 10, 2015 Why you dont even tried to make it? Look i need just a example for the mod ok ? if u wanna help me it's ok
//_Dragon Posted December 10, 2015 Author Posted December 10, 2015 The link I put contains everything you need, it checks if the playey is an a certain ACL, if so you can use that to lower the price, or set price to 0. Can u give a example for get hydra only for Admin from F1 ?
Captain Cody Posted December 11, 2015 Posted December 11, 2015 Server Side function hydra () local accountname = getAccountName (getPlayerAccount(client)) <- From GUI if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "admin" ) ) then local x, y, z = getElementPosition ( client ) hydra = createVehicle ( 520, x, y, z ) warpPedIntoVehicle (client, hydra ) else outputChatBox ( "You must be admin to use this", client, 255, 255, 255, true ) end end rootElement = getRootElement() addEventHandler( "onHydraClick", rootElement, hydra) addEvent("onHydraClick", true) Client Side, triggers it. triggerServerEvent ( "onHydraClick", resourceRoot )
//_Dragon Posted December 11, 2015 Author Posted December 11, 2015 Server SideClient Side, triggers it. triggerServerEvent ( "onHydraClick", resourceRoot ) Here is a problem :3 !
DarkByte Posted December 11, 2015 Posted December 11, 2015 Waste of time on this guy. He doesnt even trying to make a code or to fix one.
//_Dragon Posted December 11, 2015 Author Posted December 11, 2015 Waste of time on this guy. He doesnt even trying to make a code or to fix one. Pfff the code has some problem if u're pro ( u aren't ) fixe it then say what u said to me get out of my topic i dont need ur help
Captain Cody Posted December 11, 2015 Posted December 11, 2015 I gave you example, fix the danm code yourself to suit your needs.
//_Dragon Posted December 11, 2015 Author Posted December 11, 2015 client triggerServerEvent ( "onHydraClick", resourceRoot ) outputConsole("A vehicle has respawned.") end) doesnt working
Captain Cody Posted December 11, 2015 Posted December 11, 2015 --Client function hydra () triggerServerEvent ( "onHydraClick", resourceRoot ) outputConsole("A hydra has been spawned.") end
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