also wenn ich
//exitderby
if(!strcmp(cmdtext, "/exitdeathmatch", true))
{
if(isindm[playerid] == 1)
{
if(IsPlayerInAnyVehicle(playerid) == 0)
{
ResetPlayerWeapons(playerid);
new string[256];
new name[MAX_PLAYER_NAME], str[56];
GetPlayerName(playerid, name, sizeof(name));
format(string, 256, "%s hat das Deathmatch Verlassen. [/Exitdeathmatch]",name);
SendClientMessageToAll(COLOR_TOTALGREEN,string);
for (new i = 0; i < MAX_PLAYERS; i++)
{
// Check if player is connected and not a NPC
if (IsPlayerConnected(i) && !IsPlayerNPC(i))
{
// Set the default speed boost for each player
SpeedBoostMultiplier[i] = 1.5;
}
}
SpawnPlayer(playerid);
isindm[playerid] = 0;
SendClientMessage(playerid, COLOR_RED, "Deathmatch verlassen.");
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "Du bist nicht im Deathmatch!");
}
else
{
SendClientMessage(playerid, COLOR_RED, "Bitte Verlasse erst dein Fahrzeug.");
}
return 1;
}
habe, zeigt er mir
G:\SA MP Server!\MULTISTUNT by Multivan\gamemodes\MULTISTUNT.pwn(5574) : error 029: invalid expression, assumed zero
in der zeile
else
{
SendClientMessage(playerid, COLOR_RED, "Bitte Verlasse erst dein Fahrzeug.");
}
an, also das
else
finde aber kein fehler, oder hab mich versehn,
mfg multivan