#include <a_samp>#if defined FILTERSCRIPTnew pTeam(MAX_PLAYERS);#define TEAM_GROOVE 1#define TEAM_BALLAS 2public OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Blank Filterscript by your name here\");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\" Blank Gamemode by your name here\");print(\"----------------------------------\\n\");}#endifpublic OnGameModeInit(){// Don\'t use these lines if it\'s a filterscriptSetGameModeText(\"Blank Script\");AddPlayerClass(102, 1958.3783, 1343.1572, 15.3746, 269.1425, 16,10,22,1000,26,500,32,1000,31,1000,34,500);AddPlayerClass(106, 1958.3783, 1343.1572, 15.3746, 269.1425, 16,10,22,1000,26,500,32,1000,31,1000,34,500);return 1;}public OnGameModeExit(){return 1;}public OnPlayerRequestClass(playerid, classid){SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);switch(classid){case 0:{ SetPlayerTeam(playerid,TEAM_GROOVE); GameTextForPlayer(playerid,\"~b~GROOVE\",5000,3); return 1; } case 1: { SetPlayerTeam(playerid,TEAM_BALLAS); GameTextForPlayer(playerid,\"~r~BALLAS\",5000,3); return 1; }}return 1;} HIBÁK:E:\\Kittek!\\Samp Szerverek\\SA-MP GANGWar szerver\\gamemodes\\BolDy.pwn(57) : error 017: undefined symbol \"TEAM_GROOVE\"E:\\Kittek!\\Samp Szerverek\\SA-MP GANGWar szerver\\gamemodes\\BolDy.pwn(63) : error 017: undefined symbol \"TEAM_BALLAS\"
#include <a_samp>new pTeam(MAX_PLAYERS); // ennek szerintem így kellene lennie new pTeam[MAX_PLAYERS];#define TEAM_GROOVE 1#define TEAM_BALLAS 2 main(){print(\"\\n----------------------------------\");print(\" Blank Gamemode by your name here\");print(\"----------------------------------\\n\");} public OnGameModeInit(){// Don\'t use these lines if it\'s a filterscriptSetGameModeText(\"Blank Script\");AddPlayerClass(102, 1958.3783, 1343.1572, 15.3746, 269.1425, 16,10,22,1000,26,500,32,1000,31,1000,34,500);AddPlayerClass(106, 1958.3783, 1343.1572, 15.3746, 269.1425, 16,10,22,1000,26,500,32,1000,31,1000,34,500);return 1;}public OnGameModeExit(){return 1;}public OnPlayerRequestClass(playerid, classid){SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);switch(classid){case 0:{ SetPlayerTeam(playerid,TEAM_GROOVE); GameTextForPlayer(playerid,\"~b~GROOVE\",5000,3); return 1; } case 1: { SetPlayerTeam(playerid,TEAM_BALLAS); GameTextForPlayer(playerid,\"~r~BALLAS\",5000,3); return 1; }}return 1;}