Newbie Posted April 7, 2015 Posted April 7, 2015 (edited) Im getting strange collision bug for object: vcarshade This bug only happens sometimes, i can drive through the object.. I've tryed to: Server function RestoreCols ( ) triggerClientEvent ( "collisionRestore", getRootElement(), collisionRestore ) end addCommandHandler("eik", RestoreCols) function RestoreModel ( ) triggerClientEvent ( "restoreClientModel", getRootElement(), restoreClientModel ) end addCommandHandler( "nx", RestoreModel ) Client function RestoreCollision ( ) engineRestoreCOL ( 8557 ) engineRestoreCOL ( 8558 ) engineRestoreCOL ( 3458 ) engineRestoreCOL ( 8838 ) end addEvent ( "collisionRestore", true ) addEventHandler ( "collisionRestore", getRootElement(), RestoreCollision ) function ResetModel ( ) engineRestoreModel ( 8557 ) engineRestoreModel ( 8558 ) engineRestoreModel ( 3458 ) engineRestoreModel ( 8838 ) -- Object / Vehicle to restore to default GTA one. end addEvent ( "restoreClientModel", true ) addEventHandler ( "restoreClientModel", getRootElement(), ResetModel ) Does have no effect.. Im getting annoying by this bug Edited April 7, 2015 by Guest
Newbie Posted April 7, 2015 Author Posted April 7, 2015 Alright, i fixed it. If someone faces same problem the answer is inside the maps, i found a map which loads .COL and .DFF, and then affects all other maps on the server, and if i join other server, same shit happens, it crashes MTA engine. Hope this post will be helpful!
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