Immer wenn ich das hier reinpacke:
//#define DIALOG_TEAM 5
public OnPlayerRequestClass(playerid, classid)
{
ShowPlayerDialog(playerid,DIALOG_TEAM,DIALOG_STYLE_LIST,"In welches Team möchtest du?","Antiterroreinheit\nTerroristen","Auswählen","Abbrechen");
return 1;
}
if(dialogid == DIALOG_TEAM)
{
if(response)
{
if(listitem == 0)
{
SetPVarInt(playerid,"Team",1);
}
if(listitem == 1)
{
SetPVarInt(playerid,"Team",2);
}
}
return 1;
}
Stürzt der Server nach 2 Min ab.