RemoveWorldObject to RemoveBuildingForPlayer -
ThePhenix - 06.08.2013
RemoveWorldObject to RemoveBuildingForPlayer
Basically what this include does is convert MTA Remove World Object code to RemoveBuildingForPlayer.
What do you need:
Код:
-sscanf(include + plugin) by ******
How to use it:
On top of your script:
pawn Код:
#include <a_samp>
#include <converter>
Updated.
Now the only thing you need to do is to put "Convert(filename[])".
It will check if is a Model or a LodModel.
Below OnGameModeInit()
pawn Код:
public OnGameModeInit()
{
Convert("filename.map");//Here goes the file name that stores the MTA Code. Model/LodModel.
return 1;
}
Finally you have to open samp_server.exe and then go to your scriptfiles folder and open Remove.pwn, the converted code will be placed there.
Download
Pastebin
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
impo - 06.08.2013
Sorry but i don't understand. Please explain with video :/
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
ThePhenix - 06.08.2013
Why would I need to add a video? It's a simple include.
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
impo - 06.08.2013
I don't understand pawno so much
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
ThePhenix - 06.08.2013
Place the include on your PAWN > includes folder.
1. Open a new gamemode, below <a_samp> put <converter>.
2. Below OnGameModeInit put:
PHP код:
Convertf("YourfileGoesHere.map");
3. Open your samp_server.exe and done, check out your scriptfiles and a file called "RemoveBuilding" will be placed there with the converted code.
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
impo - 06.08.2013
Okay, i will try
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
BlackBank - 06.08.2013
It would be handy if you also upload the include on pastebin.
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
ThePhenix - 06.08.2013
Uploaded to pastebin.
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
Naruto_Emilio - 06.08.2013
This is usefull include, good job!
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
ThePhenix - 07.08.2013
Thanks.
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
kurta999 - 07.08.2013
You should read the lod model from map, and write this too to the .pwn file if the lod model not 0.
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
ThePhenix - 08.08.2013
Updated.
Now, it will check whether is a model or a lodmodel.
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
Magic_Time - 08.08.2013
Nice.
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
AntonioStyles - 28.08.2013
Great job.This is really,really useful.
Re: RemoveWorldObject from MTA to RemoveBuildingForPlayer -
M3HR4N - 24.03.2014
This paste has been removed!