JO Leute
ich brauche eure Hilfe ich habe Volgendes
Ich wollte ein Interior machen aber iwie haut de nicht hin was mache ich Falsch ??
C:\Dokumente und Einstellungen\John\Desktop\SA-MP Server!\gamemodes\MeinScript.pwn(16) : error 017: undefined symbol "EnterAmmuNation"
C:\Dokumente und Einstellungen\John\Desktop\SA-MP Server!\gamemodes\MeinScript.pwn(158) : error 017: undefined symbol "EnterAmmuNation"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
#include <a_samp>
#if defined FILTERSCRIPT
new EnterAmmuNation;
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by John");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
EnterAmmuNation=CreatePickup(1559,1,2495.3145,-1690.6173,14.7656);
DisableInteriorEnterExits();
SetGameModeText("Blank Script");
AddPlayerClass(102,1905.7378,-1113.4419,26.6641,179.2016,26,9000,32,900,24,900); // B-Spawn
AddPlayerClass(103,1905.7378,-1113.4419,26.6641,179.2016,26,9000,32,900,24,900); // B-Spawn
AddPlayerClass(104,1905.7378,-1113.4419,26.6641,179.2016,26,9000,32,900,24,900); // B-Spawn
AddPlayerClass(105,2522.6594,-1678.5807,15.4970,89.6796,26,9000,32,900,24,900); // G-Spawn
AddPlayerClass(106,2522.6594,-1678.5807,15.4970,89.6796,26,9000,32,900,24,900); // G-Spawn
AddPlayerClass(107,2522.6594,-1678.5807,15.4970,89.6796,26,9000,32,900,24,900); // G-Spawn
AddStaticVehicle(482,2517.2681,-1672.7186,14.2013,80.8716,16,16); // Gcar1
AddStaticVehicle(487,2531.8638,-1677.5183,20.1067,88.5730,16,16); // Gcar2
AddStaticVehicle(492,2508.4331,-1665.9999,13.1851,13.3850,16,16); // Gcar3
AddStaticVehicle(492,2502.4177,-1657.4597,13.1913,54.4720,16,16); // Gcar4
AddStaticVehicle(492,2491.3528,-1655.4596,13.1454,87.0854,16,16); // Gcar5
AddStaticVehicle(492,2491.2363,-1682.9813,13.1202,92.8535,16,16); // Gcar6
AddStaticVehicle(492,2504.2158,-1679.3121,13.1619,135.4726,16,16); // Gcar7
AddStaticVehicle(534,2473.0803,-1693.3424,13.2392,359.1475,16,16); // Gcar8
AddStaticVehicle(467,1942.0206,-1141.2206,25.1857,90.9517,5,5); // Bcar1
AddStaticVehicle(467,1933.0507,-1141.3674,24.9614,91.1633,5,5); // Bcar2
AddStaticVehicle(467,1910.7198,-1116.2435,25.4056,0.2359,5,5); // Bcar3
AddStaticVehicle(467,1922.1654,-1130.6038,24.6865,271.5723,5,5); // Bcar4
AddStaticVehicle(475,1933.8871,-1119.9832,26.2430,359.4479,5,5); // Bcar5
AddStaticVehicle(475,1933.8871,-1119.9832,26.2431,359.4479,5,5); // Bcar5
AddStaticVehicle(475,1992.7706,-1119.4379,26.5795,89.2626,5,5); // Bcar6
AddStaticVehicle(475,2009.3406,-1120.3386,26.1584,89.8836,5,5); // Bcar7
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid,1499.1031,-942.8401,51.3468);
SetPlayerFacingAngle(playerid,289.8234);
SetPlayerCameraPos(playerid,1499.2920,-942.9570,51.3617);
SetPlayerCameraLookAt(playerid,1499.1031,-942.8401,51.3468);
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
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;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid==EnterAmmuNation)
{
SetPlayerPos(playerid,296.919982,-108.071998,1001.515625);
SetPlayerInterior(playerid,6);
}
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}