Add fire to House Entrance!
#5

Edit:
I have another public
Код:
public Production()
{
	medicev += 5;
	if(medicev == 20)
	{
        medicev = 0;
		new string[256];
		foreach(Player,i)
		{
			if(IsPlayerConnected(i))
			{
			    if(PlayerInfo[i][pMember] == 14)
			    {
           	    	if(CP[i] == 43 || CP[i] == 0 && Line1busck[i] == 0 && Line2busck[i] == 0 && MechanicCallTime[i] == 0 && MedicCallTime[i] == 0 && TaxiCallTime[i] == 0 && woodl[i] == 0 && petrolt[i] == 0 && petrolt2[i] == 0  && pizzaj[i] == 0 && IsCollectingRubbish[i] == 0
					&& PlayerInfo[i][pChicken] == 0 && balem[i] == 0 && playerrace[i] == 0 && explosion[i] == 0 && playerraces[i] == 0 && taxim[i] == 0 && towcarm[i] == 0
					&& nrmission[i] == 0)
					{
					    new rand = random(sizeof(gRandomExplosion));
					    expx[i] = gRandomExplosion[rand][0];
						expy[i] = gRandomExplosion[rand][1];
						expz[i] = gRandomExplosion[rand][2];
					    format(string,sizeof(string),"EN: ** A fire broke out, go to the red point and stop it for reject mission Type /cancel pmission.");
						SCM(i,COLOR_LIGHTRED,string);
					    format(string,sizeof(string),"RO: ** A pornit un incendiu, mergi la punctul rosu de pe harta si opreste-l, pentru a respinge misiunea Type /cancel pmission.");
						SCM(i,COLOR_LIGHTRED,string);
						explosion[i] = 1;
						SetPlayerCheckpoint(i,gRandomExplosion[rand][0],gRandomExplosion[rand][1],gRandomExplosion[rand][2],4.0);
					}
			    }
But not any Explosion shows up
Reply


Messages In This Thread
Add fire to House Entrance! - by MrTea - 07.05.2017, 08:56
Re: Add fire to House Entrance! - by YouHack - 07.05.2017, 10:33
Re: Add fire to House Entrance! - by MrTea - 07.05.2017, 11:09
Re: Add fire to House Entrance! - by YouHack - 07.05.2017, 11:11
Re: Add fire to House Entrance! - by MrTea - 07.05.2017, 12:59
Re: Add fire to House Entrance! - by GTLS - 08.05.2017, 11:39
Re: Add fire to House Entrance! - by MrTea - 08.05.2017, 23:44
Re: Add fire to House Entrance! - by GTLS - 09.05.2017, 06:28
Re: Add fire to House Entrance! - by zedshadowzw - 09.05.2017, 06:58
Re: Add fire to House Entrance! - by MrTea - 09.05.2017, 10:45

Forum Jump:


Users browsing this thread: 1 Guest(s)