Problem z kompilacją
DarkvTen
30.08.2014
Witam. Mam problem z kompilacją pliku, nawet czystego, nie ruszanego nie chce skompilować.
/*================================================================================
--------------------------------
-*- [ZP] Server Broswer Info -*-
--------------------------------
This plugin is part of Zombie Plague Mod and is distributed under the
terms of the GNU General Public License. Check ZP_ReadMe.txt for details.
================================================================================*/
#include
#include
#include
new g_ModName[64]
public plugin_init()
{
register_plugin("[ZP] Server Browser Info", ZP_VERSION_STRING, "ZP Dev Team")
register_forward(FM_GetGameDescription, "fw_GetGameDescription")
formatex(g_ModName, charsmax(g_ModName), "Zombie Plague %s", ZP_VERSION_STR_LONG)
}
// Forward Get Game Description
public fw_GetGameDescription()
{
// Return the mod name so it can be easily identified
forward_return(FMV_STRING, g_ModName)
return FMRES_SUPERCEDE;
}
W czym jest problem?
Załączone pliki
Użytkownik DarkvTen edytował ten post 30.08.2014 11:27
DarkvTen
30.08.2014
kompilujesz lokalnie tak?
Jeśli nie , to masz odpowiedz.
Kompilowałem generatorem i AMX Mod X Base. nie działa.
DarkvTen
30.08.2014
Próbowałem wszystkiego, gdyby działało to bym nie pisał. W czym jest problem.
Ps: Wszystkie biblioteczki które były dostarczone do paczki są w include.
Użytkownik DarkvTen edytował ten post 30.08.2014 13:11
Engi
05.09.2014
Witam. Mam problem z kompilacją pliku, nawet czystego, nie ruszanego nie chce skompilować.
/*================================================================================
--------------------------------
-*- [ZP] Server Broswer Info -*-
--------------------------------
This plugin is part of Zombie Plague Mod and is distributed under the
terms of the GNU General Public License. Check ZP_ReadMe.txt for details.
================================================================================*/
#include
#include
#include
new g_ModName[64]
public plugin_init()
{
register_plugin("[ZP] Server Browser Info", ZP_VERSION_STRING, "ZP Dev Team")
register_forward(FM_GetGameDescription, "fw_GetGameDescription")
formatex(g_ModName, charsmax(g_ModName), "Zombie Plague %s", ZP_VERSION_STR_LONG)
}
// Forward Get Game Description
public fw_GetGameDescription()
{
// Return the mod name so it can be easily identified
forward_return(FMV_STRING, g_ModName)
return FMRES_SUPERCEDE;
}
W czym jest problem?
Rozwiązanie jest tutaj
#include #include #include new g_ModName[64]Wysłane z mojego Lenovo K910 przy użyciu Tapatalka