Ich hab ein Problem, pawno nimmt die ShowPlayerDialog Zeile nicht an -.-
if(strcmp(cmdtext, "/acar", true) ==0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
if(AdminDuty[playerid] == 0)
{
SendClientMessage(playerid, FARBE_WEISS, "Du bist nicht im Admindienst! (Aduty)");
return 1;
}
if(AdminCar[playerid] != 0)
{
DestroyVehicle(AdminCar[playerid]);
SendClientMessage(playerid, FARBE_ROT, "Fahrzeug vernichtet.");
AdminCar[playerid] = 0;
}
if(AdminCar[playerid] == 1)
{
ShowPlayerDialog(playerid, DIALOG_ADMINCAR, DIALOG_STYLE_INPUT,"{FF0000}Admincar","Fahrzeug ID eingeben","Erstellen","Abrechen");
}
}
return 1;
}
Errors, alle liegen in der ShowDialogZeile,
C:\Users\Daniel\Desktop\SA-MP Server\gamemodes\script.pwn(399) : error 029: invalid expression, assumed zero
C:\Users\Daniel\Desktop\SA-MP Server\gamemodes\script.pwn(399) : warning 215: expression has no effect
C:\Users\Daniel\Desktop\SA-MP Server\gamemodes\script.pwn(399) : warning 215: expression has no effect
C:\Users\Daniel\Desktop\SA-MP Server\gamemodes\script.pwn(399) : warning 215: expression has no effect
C:\Users\Daniel\Desktop\SA-MP Server\gamemodes\script.pwn(399) : warning 215: expression has no effect
C:\Users\Daniel\Desktop\SA-MP Server\gamemodes\script.pwn(399) : warning 215: expression has no effect
C:\Users\Daniel\Desktop\SA-MP Server\gamemodes\script.pwn(399) : error 001: expected token: ";", but found ")"
C:\Users\Daniel\Desktop\SA-MP Server\gamemodes\script.pwn(399) : error 029: invalid expression, assumed zero
C:\Users\Daniel\Desktop\SA-MP Server\gamemodes\script.pwn(399) : fatal error 107: too many error messages on one line