stefutz101 Posted August 26, 2015 Share Posted August 26, 2015 Hi , today i found a BUG: when a player connect on server if he have an m4 , the m4 appear on the map ... For each player connected an m4 spawn and stay on map . The m4 is an object and it can't be taked. What i can solve this ? please help :( ! Link to comment
KariiiM Posted August 26, 2015 Share Posted August 26, 2015 Do something like function onQuitPlayer () if isElement(objectname) then destroyElement(objectname) end end addEventHandler ( "onPlayerQuit", getRootElement(), onQuitPlayer ) Link to comment
stefutz101 Posted August 26, 2015 Author Share Posted August 26, 2015 Ty , i will try 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