Hay der Fehlerklärbär weiß auch keine lösung bitte um hilfe.
Errors:
C:\Users\Klaus\Desktop\Tom\Home\pawno\Test.pwn(168) : warning 202: number of arguments does not match definition
C:\Users\Klaus\Desktop\Tom\Home\pawno\Test.pwn(414) : error 014: invalid statement; not in switch
C:\Users\Klaus\Desktop\Tom\Home\pawno\Test.pwn(414) : warning 215: expression has no effect
C:\Users\Klaus\Desktop\Tom\Home\pawno\Test.pwn(426) : warning 213: tag mismatch
C:\Users\Klaus\Desktop\Tom\Home\pawno\Test.pwn(426) : warning 213: tag mismatch
C:\Users\Klaus\Desktop\Tom\Home\pawno\Test.pwn(434) : warning 213: tag mismatch
C:\Users\Klaus\Desktop\Tom\Home\pawno\Test.pwn(434) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Script:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
new textstring[25]; //für das Kennzeichen
case DIALOG_FAHRZEUGSPAWN;
{
if(!response) return 0; //Fahrzeugspawn abgebrochen
else
{
switch(listitem)
{
case 0: //Fahrzeug 1
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X,Y,Z);
format(textstring,25,"SA-SP-%d",playerid);
SetVehicleNumberPlate(PlayerFahrzeug[playerid] = CreateVehicle(457,X+3,Y+3,Z,0.0,0.0,0.0,-1),textstring);
SetPVarInt(playerid,"smobil",1); //PVar "FCar" wird auf 1 gesetzt
}
case 1:
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X,Y,Z);
format(textstring,25,"SA-SP-%d",playerid);
SetVehicleNumberPlate(PlayerFahrzeug[playerid] = CreateVehicle(481,X+3,Y+3,Z,0.0,0.0,0.0,-1),textstring);
SetPVarInt(playerid,"smobil",1);
}
}
}
}