07.05.2017, 12:59
(
Последний раз редактировалось MrTea; 07.05.2017 в 13:46.
)
Edit:
I have another public
But not any Explosion shows up
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);
}
}

