Dimmitry007 Posted March 2, 2015 Posted March 2, 2015 Hello lads I maked a script that block a command and only admins can use it but it's not working it's server side for superman Here's my code function fly(source) if isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Admin" ) ) or isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Fondateur" ) ) then triggerEvent ( "superman", getRootElement()) else outputChatBox("fail",source) end end addCommandHandler("fly",fly) sup?
Tekken Posted March 2, 2015 Posted March 2, 2015 replace 'source' with 'thePlayer' Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Anubhav Posted March 2, 2015 Posted March 2, 2015 Wrong solution by @ mihayy5 Anyways lets come on point? Are there any errors in /debugscript 3 when you restart or do this command? If so please, tell. Is superman event added even? See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Dimmitry007 Posted March 2, 2015 Author Posted March 2, 2015 Wrong solution by @ mihayy5Anyways lets come on point? Are there any errors in /debugscript 3 when you restart or do this command? If so please, tell. Is superman event added even? I don't think so sup?
crismar Posted March 2, 2015 Posted March 2, 2015 Wrong solution by @ mihayy5Anyways lets come on point? Are there any errors in /debugscript 3 when you restart or do this command? If so please, tell. Is superman event added even? I don't think so If the event is not added how do you expect the script to work ? Contact me if you are looking for a Web Developer. 3rd of October 2014 - Founder of RomaniaZ
Dimmitry007 Posted March 2, 2015 Author Posted March 2, 2015 Wrong solution by @ mihayy5Anyways lets come on point? Are there any errors in /debugscript 3 when you restart or do this command? If so please, tell. Is superman event added even? I don't think so If the event is not added how do you expect the script to work ? well i don't know how to add event and where sup?
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