[Bug] Delete Vehicle bug.
See original GitHub issueI was having trouble deleting the main characters vehicle so I looked at the source code and noticed:
void Entity::Delete()
{
int handle = Handle;
Native::Function::Call(Native::Hash::SET_ENTITY_AS_MISSION_ENTITY, handle, true, false);
Native::Function::Call(Native::Hash::DELETE_ENTITY, &handle);
}
This
Native::Function::Call(Native::Hash::SET_ENTITY_AS_MISSION_ENTITY, handle, true, false);
should be:
Native::Function::Call(Native::Hash::SET_ENTITY_AS_MISSION_ENTITY, handle, false, true);
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Bug Delete - Bug, Tar, & Tree Sap Remover (1 Gallon)
Remove stubborn insects, tree sap, films, and tar. Bug Delete is a ready-to-use bug remover specially formulated for safe use on all exterior...
Read more >Bug Delete - Insect And Stain Remover (32oz) - DipIt
BUG DELETE IS A READY-TO-USE BUG REMOVER SPECIALLY FORMULATED FOR SAFE USE ON ALL EXTERIOR VEHICLE SURFACES, INCLUDING PLASTI DIP, PROLINE AND AUTOFLEX....
Read more >How to remove bugs from your car
Just as you would clean bugs off the body of a car, you can use a microfiber cloth and basic cleaning product to...
Read more >Rockstar addresses GTA Online bug that's deleting ...
Rockstar games has acknowledged a completely game breaking bug in GTA Online that is permanently deleting everybody's vehicles.
Read more >How To Remove Bugs From Your Car
Time spent on the road means you'll likely splatter some bugs, so we've collected expert tips on the best ways to remove bugs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
*cannot be changed by any other scriptThread 😃
The second one is telling the car that SET_ENTITY_AS_MISSION_ENTITY cannot be changed by any other script.