[Include] RemoveBuilding
#21

Are you using the latest SAMP includes? (The 0.3d server package?)

Also, you don't need to place the RemoveBuilding lines in OnPlayerConnect when using my include, you can place them in OnGameModeInit or in other callbacks. I may have mis-understood the first chunk of your reply, though.
Reply
#22

Quote:
Originally Posted by funky1234
Посмотреть сообщение
Are you using the latest SAMP includes? (The 0.3d server package?)
I do not speak no English and as I have no idea where to download everything from the server 0.3d plus I have it in serverffs.com and there came a pass to 0.3dy option did not say anything new up includes.

Could you please pass the lin of what I download? Only you can help on the wiki as neither explained well and only mention in your post. ---> https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

Thank you for understanding.
Reply
#23

sorry wrong topic
Reply
#24

Quote:
Originally Posted by e-motic
Посмотреть сообщение
I do not speak no English and as I have no idea where to download everything from the server 0.3d plus I have it in serverffs.com and there came a pass to 0.3dy option did not say anything new up includes.

Could you please pass the lin of what I download? Only you can help on the wiki as neither explained well and only mention in your post. ---> https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

Thank you for understanding.
Redownload the Windows Server Package, and take the 'pawno' directory from it. Recompile all your scripts using that PAWNO program (and keep doing so). You could just copy the 'includes' folder into your existing PAWNO folder, overwriting what is already there.
Reply
#25

Brilliant idea. I'll probably use this if I get around to using the remove building functions, which I expect to do to re-map a particular area.
Reply
#26

Cool man, loved it. +rep for you
Reply
#27

Quote:
Originally Posted by Calgon
Посмотреть сообщение
Brilliant idea. I'll probably use this if I get around to using the remove building functions, which I expect to do to re-map a particular area.
Thanks. I hope it goes well, let me know if there's any issues with this include, as I'm only using it for a few building removals, no major removals or anything.

Quote:
Originally Posted by Chris White
Посмотреть сообщение
Cool man, loved it. +rep for you
Thanks.

I will soon be posting a few screenshots on how useful the RemoveSpecificBuilding function is, I may also add an optional radius parameter to this function, so you can remove identical objects in one specific area in only one line line of code. The default radius would be (approximately) the entire map.
Reply
#28

Quote:
Originally Posted by funky1234
Посмотреть сообщение
Can I help you convert RestoreBuildingForPlayer lines to be compatible with this include?
As it happens, yes. Download the following file: http://ash.trucking-world.net/samp/f... Converter.zip. Run the 'setup.exe' file contained within and allow it to run it's course. After it has done so you will be shown a form in which you can input multiple "RemoveBuildingForPlayer" lines, and indeed a 'tag' (to specify the playerid parameter of the RemoveBuildingForPlayer lines). Once you have entered this data, simply click convert and it will convert the data for you.

After you have downloaded and installed the file (which I linked to above), you may delete (yeap, that's right) the directory that you downloaded/extracted. The 'setup.exe' file installed it to your system so you can now access it from the Start Menu. It is also registered as a program within your system. If you wish to remove it, you can do so by accessing the "Add/Remove Programs" option in the Control Panel. The program will be listed as "RemoveBuilding Converter".

You can download the source of the program here: http://ash.trucking-world.net/samp/f...ter SOURCE.zip. I have included this link here to conform with the board rules. You may do what you wish with this program, though if you wish to modify it and re-release it then please ask my permission. (I don't know why you'd do that, it's entirely built around this include...). The program was built using Visual Studio 2008 (as I can't run 2010 on this laptop, my other laptop broke ).

If you have any issues/complaints about this program, then don't hesitate to tell me!
Added a new section the main post (quoted above). This should make it easier for people to convert the RemoveBuildingForPlayer lines, and should also reduce the the number of incoming PM's for myself.
Reply
#29

This include works like a charm. Used it to clear out the Oil Refinery out in Green Palms near Las Venturas / Fort Carson and converted that area into an Impound Lot. Real simple to use and it gets the job done with ease. Thanks and keep up the great work!
Reply
#30

Quote:
Originally Posted by BravoMan21
Посмотреть сообщение
This include works like a charm. Used it to clear out the Oil Refinery out in Green Palms near Las Venturas / Fort Carson and converted that area into an Impound Lot. Real simple to use and it gets the job done with ease. Thanks and keep up the great work!
I'm glad it is working well for you. Sounds like quite a nice mapping idea too! Good Luck with whatever it is you're doing.

Thank You for your kind words.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)