Guten Tag....
habe mir ein befehl erstell aber ich bekomme 2 warnings und 1 error ich finde den fehler jetzt iwi nicht aber ihr seit ja Profis ![]()
C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(33271) : error 021: symbol already defined: "x"
C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(33279) : warning 213: tag mismatch
C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(33280) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
und die zeilen:
 	if (strcmp(cmd, "/supm", true) == 0)
	{
 		 if(HatSupmobil[playerid] == 1)
 		 {
			SendClientMessage(playerid,COLOR_RED,"Du hast bereist ein Supporterfahrzeug gespawnt!");
			return 1;
  			}
  			else
  			{
  			if(PlayerInfo[playerid][pAdmin] >= 1)
			{
	         	new Float:x,Float:y,Float:z,Float:a;
	         	GetPlayerPos(playerid,x,y,z);
	         	GetPlayerFacingAngle(playerid,a);
	         	new Float:x,Float:y,Float:z,Float:a;
	         	GetPlayerPos(playerid,x,y,z);
	         	GetPlayerFacingAngle(playerid,a);
				 Supmobil = CreateVehicle(560,x,y,z,a,-1,-1,-1);
				 SetVehicleVirtualWorld(Supmobil,GetPlayerVirtualWorld(playerid));
				 PutPlayerInVehicle(playerid, Supmobil, 0);
				 ChangeVehicleColor(Supmobil,181,181);
				 new vehicle3Dtext;
				 vehicle3Dtext = Create3DTextLabel( "SupporterMobil", COLOR_YELLOW, 0.0, 0.0, 0.0, 50.0, 0, 1 );
				 Attach3DTextLabelToVehicle( vehicle3Dtext, Supmobil, 0.0, 0.0, 2.0);
				 SendClientMessage(playerid, COLOR_YELLOW, "Du hast dir ein Supportermobil gespawnt!");
				 HatSupmobil[playerid] = 1;
	  			}
				else
				{
	  				SendClientMessage(playerid, COLOR_YELLOW, "Du kannst diesem Befehl nicht benutzen!!");
			}
		}
	  	return 1;
	}
	if (strcmp(cmd, "/supml", true) == 0)
	{
        	if(PlayerInfo[playerid][pAdmin] >= 1)
        	{
				DestroyVehicle(Supmobil);
				SendClientMessage(playerid, COLOR_YELLOW, "Du hast dein Supportermobil gelöscht!");
				HatSupmobil[playerid] = 0;
			}
			else
			{
				SendClientMessage(playerid, COLOR_YELLOW, "Du kannst diesem Befehl nicht benutzen!!");
			}
	return 1;
	}
Hoffe das ihr mir helen könnt :))