logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline MasterZero  
#1 Posted : Sunday, October 9, 2016 4:00:46 AM(UTC)
MasterZero


Rank: Newbie

Groups: Registered
Joined: 10/8/2016(UTC)
Posts: 3
Germany

Hello,
I have found a thread to clean the world completely.
But its not working... :(
Thread: http://gtaforums.com/top...lean-world/?p=1068869121
Code for RAGE Plugin Hook:
Code:
Vector3 pos = Game.LocalPlayer.Character.Position;
NativeFunction.CallByName<uint>("SET_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME", 0f);
NativeFunction.CallByName<uint>("SET_RANDOM_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME", 0f);
NativeFunction.CallByName<uint>("SET_PARKED_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME", 0f);
NativeFunction.CallByName<uint>("SET_PED_DENSITY_MULTIPLIER_THIS_FRAME", 0f);
NativeFunction.CallByName<uint>("SET_SCENARIO_PED_DENSITY_MULTIPLIER_THIS_FRAME", 0f, 0f);
NativeFunction.CallByName<uint>("SUPPRESS_SHOCKING_EVENTS_NEXT_FRAME");
NativeFunction.CallByName<uint>("SUPPRESS_AGITATION_EVENTS_NEXT_FRAME");
NativeFunction.CallByName<uint>("SUPPRESS_AGITATION_EVENTS_NEXT_FRAME");
NativeFunction.CallByName<uint>("DELETE_ALL_TRAINS");
NativeFunction.CallByName<uint>("DESTROY_MOBILE_PHONE");
NativeFunction.CallByName<uint>("SET_GARBAGE_TRUCKS", 0);
NativeFunction.CallByName<uint>("SET_RANDOM_BOATS", 0);
NativeFunction.CallByName<uint>("SET_RANDOM_TRAINS", 0);
NativeFunction.CallByName<uint>("CLEAR_AREA", pos.X, pos.Y, pos.Z, 9000f, 0, 0, 0, 0, 0);
NativeFunction.CallByName<uint>("CLEAR_AREA_OF_PEDS", pos.X, pos.Y, pos.Z, 9000f, 0);
NativeFunction.CallByName<uint>("CLEAR_AREA_OF_VEHICLES", pos.X, pos.Y, pos.Z, 9000f, 0);
NativeFunction.CallByName<uint>("CLEAR_AREA_OF_OBJECTS", pos.X, pos.Y, pos.Z, 9000f, 0);


What is wrong?

Edited by user Sunday, October 9, 2016 4:01:47 AM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.