Karuzo Posted February 5, 2014 Posted February 5, 2014 Hey Guys, I have a Problem with new Skins. Let's say i have these IDs : 310,311,312 and i want to check if a player is in the group VIP , if he is nothing will happen if he changes his skin. but if hes not in the group he will get an error message and his skin will changed to 0. Hope you could understand me , and can help me
Gtagasje Posted February 5, 2014 Posted February 5, 2014 If the VIP group is a team, you'd have to use if getTeamName(getPlayerTeam([player element here)) == "VIP" then but if the VIP group is an ACL group then you'd have to use if isObjectInACLGroup("user."..getPlayerAccount([player element here]), aclGetGroup("VIP")) then If the player passes the check you can set his skin to whatever you want, otherwise you set his skin to 0 using setElementModel()
Karuzo Posted February 5, 2014 Author Posted February 5, 2014 Ye but which event do i need ? I mean , people just easily can do /ss 310.
Gtagasje Posted February 5, 2014 Posted February 5, 2014 Ah, so you're running the freeroam resource, in that case you'd have to add these things to the function in the freeroam resource.
Karuzo Posted February 5, 2014 Author Posted February 5, 2014 Ah yea, well, could you be more specific where ?
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