13.07.2015, 16:19
Hello!
I got problems with my gamemode...
init.pwn:
config.pwn:
functions.pwn:
Any ideas?
Only the first "../../gamemodes/rcrp_sources/*.pwn" loading.
I got problems with my gamemode...
Код:
.pwn(11) : error 017: undefined symbol "getServerVersion"
Код:
#include <a_samp> #define RCRP_ComplieProtect #include "../../gamemodes/rcrp_sources/config.pwn" #include "../../gamemodes/rcrp_sources/functions.pwn" main() { print("samp@anthonygates: Red County Roleplay"); print("samp@anthonygates: Written by Anthony Gates"); printf("samp@anthonygates: Loading version %s", getServerVersion()); }
Код:
#if !defined RCRP_ComplieProtect #error Nem jу fбjlt prуbбlsz fordнtani!! // if you try complie this file #endif //VERSION #define MOD "RC-RP" #define MAJOR 1 #define MINOR 0 #define PATCH 0
Код:
#if !defined RCRP_ComplieProtect #error Nem jу fбjlt prуbбlsz fordнtani!! // if you try complie this file #endif stock getServerVersion(){ new output[] = "RC-RP x.x.xxx"; format(output, sizeof(output), "%s %d.%d.%d",MOD,MAJOR, MINOR, PATCH); return output; }
Only the first "../../gamemodes/rcrp_sources/*.pwn" loading.