Guten Tag ich habe eine Globale Variable namens "Wettkampf","Antiterror" und "Terror".
Oben erstellt und so aber es funktioniert nicht.
3 Warnings.
C:\Users\Patrick\Desktop\IRP-City\gamemodes\Deathmatch.pwn(447) : warning 211: possibly unintended assignment
C:\Users\Patrick\Desktop\IRP-City\gamemodes\Deathmatch.pwn(449) : warning 211: possibly unintended assignment
C:\Users\Patrick\Desktop\IRP-City\gamemodes\Deathmatch.pwn(463) : warning 211: possibly unintended assignment
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
	
	
Pawno Code:
if(Wettkampf[playerid] = 1)
	{
	    if(Antiterror[playerid] = 1)
	    {
		    switch(random(5))
	 		{
				case 0: { SetPlayerPos(playerid,-1131.8933,1052.4093,1345.7485);SetPlayerInterior(playerid,10);}
		        case 1: { SetPlayerPos(playerid,-1134.6321,1053.6348,1345.7660);SetPlayerInterior(playerid,10);}
		        case 2: { SetPlayerPos(playerid,-1135.3168,1057.3153,1345.7784);SetPlayerInterior(playerid,10);}
		        case 3: { SetPlayerPos(playerid,-1132.5778,1061.4429,1345.7698);SetPlayerInterior(playerid,10);}
		        case 4: { SetPlayerPos(playerid,-1130.0007,1057.9702,1346.4141);SetPlayerInterior(playerid,10);}
	 	 	}
	 	 	SetPlayerHealth(playerid,100);
  		 	GivePlayerWeapon(playerid,23,40);
 			GivePlayerWeapon(playerid,4,1);
		}
		else if(Terror[playerid] = 1)
		{
	   		switch(random(5))
			{
				case 0: { SetPlayerPos(playerid,-974.2305,1060.8409,1345.6770);SetPlayerInterior(playerid,10);}
		        case 1: { SetPlayerPos(playerid,-974.6746,1058.3070,1345.0100);SetPlayerInterior(playerid,10);}
		        case 2: { SetPlayerPos(playerid,-970.8981,1061.1876,1345.0310);SetPlayerInterior(playerid,10);}
		        case 3: { SetPlayerPos(playerid,-973.3708,1064.3840,1345.0096);SetPlayerInterior(playerid,10);}
		        case 4: { SetPlayerPos(playerid,-976.0232,1064.6044,1344.9893);SetPlayerInterior(playerid,10);}
		 	}
		 	SetPlayerHealth(playerid,100);
 		 	GivePlayerWeapon(playerid,22,40);
		 	GivePlayerWeapon(playerid,4,1);
		}
	}