Hallo was ist hier falsch?
#include <a_samp>
static gTeam[MAX_PLAYERS];
#if defined FILTERSCRIPT
#define GameModeName "GameMod by Hanne"
#define COLOR_INFO 0x00F6C0FF
#define COLOR_HELLROT 0xFFC8FFFF
#define COLOR_NEWSR 0x9BFF00FF
#define COLOR_AUTON 0xFFFF00FF
#define Weiß 0xFFFFFFAA
#define Grau 0xAFAFAFAA
#define Rot 0xAA3333AA
#define TEAM_SHERIFF 1
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" ALPHAs AngelPine FilterScript");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" AngelPine RolePlay by ALPHA");
print("----------------------------------\n");
}
#endif
forward payday();
forward autonachricht();
forward clock();
forward randomweather();
new PortCheckpoint[MAX_PLAYERS];
#define PortDialog 1
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("AngelPine RolePlay by ALPHA");
SetTimer("payday",30000000,1);
SetTimer("autonachricht",900000,1);
SetTimer("randomweather",30000000,1);
UsePlayerPedAnims();
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(59, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(147, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(188, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(191, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddStaticVehicle(416,-2238.6130,-2301.1895,30.6545,232.0090,3,3); // medics1
AddStaticVehicle(416,-2242.0059,-2305.3298,30.3712,231.6384,3,3); // medics2
AddStaticVehicle(416,-2245.4407,-2309.5164,30.0562,232.3187,3,3); // medics3
AddStaticVehicle(416,-2248.4402,-2313.6689,29.7747,234.0282,3,3); // medics4
AddStaticVehicle(596,-2236.3892,-2323.7825,30.1280,232.3118,3,3); // medics5
AddStaticVehicle(598,-2230.9319,-2327.8545,30.3654,232.9242,3,3); // medics6
AddStaticVehicle(599,-2224.9216,-2332.4744,30.8208,232.0497,3,3); // medics7
AddStaticVehicle(599,-2166.0273,-2387.4192,30.7323,50.9541,108,108); // Sherrif1
AddStaticVehicle(599,-2160.1316,-2392.0896,30.7287,51.0579,108,108); // Sherrif2
AddStaticVehicle(599,-2154.1970,-2396.9810,30.7296,50.4079,108,108); // Sherrif3
AddStaticVehicle(596,-2161.3232,-2405.8972,30.2653,230.3626,108,108); // Sherrif4
AddStaticVehicle(596,-2171.4968,-2397.8755,30.2661,231.8832,108,108); // Sherrif5
AddStaticVehicle(497,-2156.0334,-2380.6758,37.9662,52.0433,108,108); // Sherrif6
AddStaticVehicle(523,-2165.1672,-2402.5139,30.1880,231.2803,1,1); // Sherrif7
AddStaticVehicle(523,-2167.4712,-2400.3538,30.1955,233.1420,1,1); // Sherrif8
AddStaticVehicle(463,-1617.0050,-2695.4780,48.0792,147.5342,0,0); // biker
AddStaticVehicle(463,-1615.2501,-2696.6448,48.0734,149.0099,2,2); // biker1
AddStaticVehicle(463,-1613.5924,-2697.6968,48.0735,147.0646,1,1); // biker2
AddStaticVehicle(463,-1620.9598,-2696.9792,48.1771,118.0933,0,0); // biker3
AddStaticVehicle(463,-1621.9440,-2695.6384,48.1789,120.2832,2,2); // biker4
AddStaticVehicle(463,-1626.1991,-2693.0149,48.1786,120.3581,1,1); // biker3
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 265)
{
gTeam[playerid] = TEAM_SHERIFF; //Hier einmal!
}
if(classid == 266)
{
gTeam[playerid] = TEAM_SHERIFF; //Hier einmal!
}
if(classid == 267)
{
gTeam[playerid] = TEAM_SHERIFF; //Hier einmal!
}
SetPlayerPos(playerid, -2195.0010,-2257.7634,30.6742);
SetPlayerCameraPos(playerid, -2181.5793,-2318.3477,36.0859);
SetPlayerCameraLookAt(playerid, -2181.5793,-2318.3477,36.0859);
}
return 1; //Und hier einmal!
}
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
clock();
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
C:\Dokumente und Einstellungen\ALPHA\Desktop\Anwendungen\samp03asvr_R3_win32\gamemodes\new.pwn(99) : error 017: undefined symbol "TEAM_SHERIFF"
C:\Dokumente und Einstellungen\ALPHA\Desktop\Anwendungen\samp03asvr_R3_win32\gamemodes\new.pwn(103) : error 017: undefined symbol "TEAM_SHERIFF"
C:\Dokumente und Einstellungen\ALPHA\Desktop\Anwendungen\samp03asvr_R3_win32\gamemodes\new.pwn(107) : error 017: undefined symbol "TEAM_SHERIFF"
C:\Dokumente und Einstellungen\ALPHA\Desktop\Anwendungen\samp03asvr_R3_win32\gamemodes\new.pwn(113) : error 010: invalid function or declaration
Im Vorraus danke für eure Hilfe!
LG ALPHA
Bräuchte hilfe! Bitte!