boro Posted January 1, 2013 Share Posted January 1, 2013 Hi all, please help with this for i,player in ipairs(getElementsByType("player")) do local model = getElementData(getPlayerTeam(player),"Skins")[1] setElementModel(player,model) Bad argument @ 'getElementData' [Expected element at argument 1, got boolean] attempt to index a boolean value Link to comment
Castillo Posted January 1, 2013 Share Posted January 1, 2013 You want to get the data of the player team? are you sure that the team exists? 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