Unique23 Posted December 14, 2013 Share Posted December 14, 2013 good morning everyone! I made a gate script for the teams it works but it gives some warnings too. The warnings are; Bad Argument @getTeamName Bad Player pointer @ getPlayerTeam Here is the link of script http://pastebin.com/GMkcYuM5 8 and 17th lines. I have a question too.I added myself and my friend to the Unique team.I went to marker then gate opened.I started to wait on the marker but my friend came to me then gate closed.I don't want script to close gate if people are in the same team. Link to comment
ViRuZGamiing Posted December 14, 2013 Share Posted December 14, 2013 Maybe change getPlayerTeam to this; local playerTeam = getPlayerTeam (source) if (playerTeam) then Link to comment
PaiN^ Posted December 14, 2013 Share Posted December 14, 2013 Not really, You need to make sure the element that entered the marker is a Player element using getElementType 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