Guten tag
if(dialogid == 12)
{
if(response)
{
if(listitem == 0)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
SendClientMessageToAll(GREEN,">> %s ist in die Deagle-Arena gegangen!");
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,24,500);
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid,963.418762,2108.292480,1011.030273);
}
if(listitem == 1)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
SendClientMessageToAll(GREEN,">> %s ist in die Mp5-Arena gegangen!");
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,29,1000);
SendClientMessage(playerid,GREEN,"in arbeit");
}
}
else
{
ShowPlayerDialog(playerid,DIALOG_ARENA1,DIALOG_STYLE_LIST,"Los Santos Arena","Deathmatch","Weiter","Abbrechen");
}
}
sobald er er die nachricht senden soll, das er in die arena gegangen ist, beendet er die server.exe. kann mir wer helfen pls?