Will I be able to edit this gamemode. -
rejuiced - 10.11.2015
So I downloaded this server package and the mapping was only .amx with no .pwn so I could not edit the mapping and I got rid of it.
But for the gamemode this is how it looks/works:
It has a 30mb .AMX file, but a 2 KB .PWN file.
This is what the .pwn says.
/* ---------------- SCRIPT REVISION ----------------- */
// Do not forget to change this everytime you commit - it's mandatory!
#define SERVER_GM_TEXT "blabla"
#include <a_samp>
#include <a_mysql>
#include <streamer>
#include <yom_buttons>
#include <ZCMD>
#include <sscanf2>
#include <foreach>
#include <YSI\y_timers>
#include <YSI\y_utils>
#if defined SOCKET_ENABLED
#include <socket>
#endif
#include "./includes/defines.pwn"
#include "./includes/enums.pwn"
#include "./includes/variables.pwn"
#include "./includes/timers.pwn"
#include "./includes/functions.pwn"
#include "./includes/commands.pwn"
#include "./includes/mysql.pwn"
#include "./includes/OnPlayerLoad.pwn"
#include "./includes/callbacks.pwn"
#include "./includes/textdraws.pwn"
#include "./includes/streamer.pwn"
#include "./includes/OnDialogResponse.pwn"
main() {}
public OnGameModeInit()
{
print("Preparing the gamemode, please wait...");
g_mysql_Init();
return 1;
}
public OnGameModeExit()
{
g_mysql_Exit();
return 1;
}
And in the gamemodes folder it has an includes folder with: callbacks, commands, defines, enums, functions, mysql, mysql, bla bla all .pwn
So the main question is am I going to be able to edit the gamemode, and if I can do I edit it through the includes folder?
Re: Will I be able to edit this gamemode. -
Virtual1ty - 10.11.2015
You didn't have to delete the map .amx, as it could still be decompiled somehow.
As for your other question, yes, that's a modular gamemode and you will have to edit all the .pwn files in /include directory, BUT you compile the file which you've shown us here as that's the main one.
Re: Will I be able to edit this gamemode. -
rejuiced - 10.11.2015
Ahh now I understand. From all my research it seemed that a .amx couldn't be decompiled. But thank you, that answers my question perfectly