06.08.2013, 04:16
(
Последний раз редактировалось ThePhenix; 18.08.2014 в 06:13.
)
RemoveWorldObject to RemoveBuildingForPlayer
Basically what this include does is convert MTA Remove World Object code to RemoveBuildingForPlayer.
What do you need:
How to use it:
On top of your script:
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()
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
Basically what this include does is convert MTA Remove World Object code to RemoveBuildingForPlayer.
What do you need:
Код:
-sscanf(include + plugin) by ******
On top of your script:
pawn Код:
#include <a_samp>
#include <converter>
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;
}
Download
Pastebin