Hallo Leute ich hab mir hier selbst so ein Deathmatch Map gebaut... Dort liegen Waffen herum Barrels usw. Dann habe ich ein Randomspawn wenn man /dm eingibt.
Doch immer wenn man dort stirbt bekommt der Spieler einen Exe Crash.... Es nervt gewaltig und ich möchte unbedingt das es behoben wird.
PS: Ich habe nichts anderes im Script
#include <a_samp>
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
}
#endif
public OnGameModeInit()
{
SetGameModeText("Deathmatch 4 Ever");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddStaticPickup(355,2,1078.8960,1765.7417,10.8203); // AK47
AddStaticPickup(349,2,1108.5846,1753.3416,10.8203); // Shotgun
AddStaticPickup(342,2,1112.3048,1725.5625,10.8203); // Grenades
AddStaticPickup(353,2,1089.3286,1734.8081,10.8203); // Mp5
AddStaticPickup(351,2,1080.6687,1732.8429,18.7841); // CombatShotgun
AddStaticPickup(335,2,1071.0427,1751.7266,10.8203); // Knife
AddStaticPickup(346,2,1071.8887,1771.8796,16.2455); // 9mm
AddStaticPickup(356,2,1028.7600,1750.6576,10.8203); // M4
AddStaticPickup(347,2,1022.7874,1755.8071,15.1047); // SdPistol
AddStaticPickup(336,2,1036.0632,1789.7921,10.8203); // Baseball
AddStaticPickup(333,2,1107.5330,1785.6327,10.8203); // Golf
AddStaticPickup(348,2,1107.4633,1773.1816,14.6588); // Deagle
AddStaticPickup(358,2,1082.6169,1740.7770,26.3940); // Sniper
AddStaticPickup(357,2,1058.7184,1763.5232,26.6491); // Rifle
AddStaticPickup(334,2,1058.3204,1738.0336,14.3603); // Night Stick
AddStaticPickup(339,2,1057.3676,1724.7175,10.8203); // Katana
AddStaticPickup(372,2,1033.7086,1736.1711,10.8203); // Tec9
AddStaticPickup(337,2,1042.4609,1729.8359,16.7594); // Shovel
AddStaticPickup(352,2,1037.7004,1757.7903,10.8203); // Smg
//hier wären meine Objects will aber nicht das sie geklaut werden
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);
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
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 OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if( !strcmp(cmdtext,"/dm",true ))
{
ResetPlayerWeapons(playerid);
new RandomSpawn;
RandomSpawn = random(6);
switch(RandomSpawn)
{
case 1: SetPlayerPos(playerid,1028.3644,1772.8284,10.8203);
case 2: SetPlayerPos(playerid,1052.8002,1794.2131,10.8203);
case 3: SetPlayerPos(playerid,1098.5042,1764.5466,10.8203);
case 4: SetPlayerPos(playerid,1110.1493,1733.7333,12.3630);
case 5: SetPlayerPos(playerid,1079.4156,1732.1071,10.8203);
case 6: SetPlayerPos(playerid,1048.3490,1737.8097,10.8203);
}
SetPlayerArmour(playerid,100);
return 1;
}
return 1;
}
public OnPlayerInfoChange(playerid)
{
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 OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}