Ich habe das immer so
if(IstinDM1[playerid] == 1)
{
new random1;
random1 = random(sizeof(DM1Spawns));
SetPlayerPos(playerid, DM1Spawns[random1][0],DM1Spawns[random1][1],DM1Spawns[random1][2]);
SetPlayerInterior(playerid, 1);
}
else if(IstinDM2[playerid] == 1)
{
new random2;
random2 = random(sizeof(DM2Spawns));
SetPlayerPos(playerid, DM2Spawns[random2][0],DM2Spawns[random2][1],DM2Spawns[random2][2]);
SetPlayerInterior(playerid, 10);
}
else if(IstinDM3[playerid] == 1)
{
SetPlayerPos(playerid, -808.9332,2430.7839,156.9851);
}
else if(IstinDM4[playerid] == 1)
{
SetPlayerPos(playerid, -2501.8201,2842.7813,10.8203);
}
else if(IstinDeagle[playerid] == 1)
{
SetPlayerPos(playerid, 2215.454833,-1147.475585,1025.796875);
}
SetPlayerPos(playerid, 1654.0778,-1656.8444,22.5156);
TextDrawShowForPlayer(playerid, kills[playerid]);
TextDrawShowForPlayer(playerid, deaths[playerid]);
return 1;
}