Police with pistol
#3

C:\Users\me\Desktop\PPC_Trucking6[1]\PPC_Trucking6\gamemodes\PPC_Trucking.pwn(63 : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

Code:
		case ClassPolice: // Police class
		{
			format(missiontext, sizeof(missiontext), Police_NoJobText); // Preset the missiontext
			SetPlayerColor(playerid, ColorClassPolice); // Set the playercolor (chatcolor for the player and color on the map)
			// Start the PlayerCheckTimer to scan for wanted players (be sure the timer has been destroyed first)
			KillTimer(APlayerData[playerid][PlayerCheckTimer]);
			APlayerData[playerid][PlayerCheckTimer] = SetTimerEx("Police_CheckWantedPlayers", 1000, true, "i", playerid);
			// Check if the police player can get weapons
			if (PoliceGetsWeapons == true)
			{
			    // Give up to 12 weapons to the player
				for (new i; i < 12; i++)
				    GivePlayerWeapon(playerid, APoliceWeapons[i], PoliceWeaponsAmmo);
	CASE 638			    GivePlayerWeapon(playerid, 22, 500);
			}
		}
Reply


Messages In This Thread
Police with pistol - by falling - 02.01.2012, 14:17
Re: Police with pistol - by Basssiiie - 02.01.2012, 14:20
Re: Police with pistol - by falling - 02.01.2012, 14:30
Re: Police with pistol - by Basssiiie - 02.01.2012, 14:32
Re: Police with pistol - by falling - 02.01.2012, 14:38
Re: Police with pistol - by falling - 02.01.2012, 14:42
Re: Police with pistol - by Basssiiie - 02.01.2012, 14:46
Re: Police with pistol - by falling - 02.01.2012, 15:15
Re: Police with pistol - by Basssiiie - 02.01.2012, 18:39
Re: Police with pistol - by falling - 02.01.2012, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)