Jump to content

save, reload, Remove ipl, in game (SA)


Strs

Recommended Posts

need 

AddIplsNeededAtPosn(CVector const&posn) 0x4045B0

CIplStore::ClearIplsNeededAtPosn(void) 0x4045E0

CIplStore::LoadIpls(CVector posn,bool) 0x405170

bool CIplStore::Save(void) 0x5D5420

 

i try it crashes i have no idea wth is iplSlotIndex :( and playerNumber someone who knows it can help me :) thanks in advance and yea my engliz is bad

 

Link to comment
Share on other sites

//CIplStore::AddIplsNeededAtPosn
//plugin::Call<0x4045B0, CVector const&>(posn);
0AA5: call_function 0x4045B0 num_params 1 pop 1 [posn]

//CIplStore::ClearIplsNeededAtPosn
//plugin::Call<0x4045E0>();
0AA5: call_function 0x4045E0 num_params 0 pop 0

//CIplStore::LoadIpl
//plugin::CallAndReturn(iplSlotIndex, data, dataSize);
0AA7: call_function_return 0x406080 num_params 3 pop 3 [dataSize] [data] [iplSlotIndex] func_ret [bool]

//CIplStore::Save
//plugin::CallAndReturn();
0AA7: call_function_return 0x5D5420 num_params 0 pop 0 func_ret [bool]

I'm not sure if these will work. Seemann auto-converted these native functions from the SDK-plugin. Sometimes differences in formatting leads to errors in the conversion, or the original documentation is inaccurate.

Link to comment
Share on other sites

thanks for response 

 

i try some of this it don't work 

 

see this 

RemoveBuildingForPlayer(playerid, 3366, 276.6563, 2023.7578, 16.6328, 0.25); this is what i need

i mean to this exact coordinate remove stuff it can be house tree or building or anything 

Link to comment
Share on other sites

after many try i can remove buildings now but collision still persist idk how to remove collision and yea want it with game memory any one knows it  ?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.