[Pomoc]Bomba

Započeo mijata
14. Jan. 2015. Zaključano
377
pregleda
13
postova
mijata
4
Shot Caller
14. Jan. 2015.
Skripta koju koristim😄M
Detaljan opis problema:zasto bomba eksplodira kada je deaktivirana /defuse
Dio skripte:
#include 
#define COLOR_RED 0xFF0000AA
#define COLOR_BLUE 0x0000BBAA

new PostaviTim;
new PlantedBomb = 0;
new Explode;
new SetpScore;
new dbomb;

public OnGameModeInit()
{
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerConnect(playerid)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if (PostaviTim == 0)
    {
        new Tim = random(2);
        switch(Tim)
        {
            case 0:
            {
                PostaviTim = 1;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
            case 1:
            {

                PostaviTim = 2;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
        }
    }
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/plantbomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2) return SendClientMessage (playerid, COLOR_RED, "Cops can't plant bomb");
        if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
        if (PlantedBomb == 1) return SendClientMessage(playerid,COLOR_RED,"Bomb is already planted!");
        PlantedBomb = 1;
        SetpScore = 1;
        GameTextForAll("~r~Bomb has been planted!",3000,5);
        Explode = SetTimerEx("Explosion", 300000, false, "i", playerid);
    }

    if (strcmp("/defusebomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2)
        {
            if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
            if (PlantedBomb == 0) return SendClientMessage(playerid,COLOR_RED,"Bomb is not planted!");
            SendClientMessage(playerid,COLOR_RED,"You are defusing a bomg, please wait...");
            dbomb = 1;
            SetTimerEx("Defusion", 20000, false, "i", playerid);
        }
        else
        {
            SendClientMessage (playerid, COLOR_RED, "Only cops can defuse bomb");
        }
    }
    return 0;
}

forward Explosion(playerid);
public Explosion(playerid)
{
    if(SetpScore == 1)
    {
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SetpScore = 0;
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for planting bomb");
    }
    GameTextForAll("~r~Bomb exploded",6000,5);
    CreateExplosion(212.9239,1820.3402,6.4216,12,20.0);
    PlantedBomb = 0;
    return 1;
    KillTimer(Explode);
}

forward Defusion(playerid);
public Defusion(playerid)
{
    if(dbomb == 1)
    {
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for defusing bomb");
        dbomb = 0;
    }
    GameTextForAll("~r~Bomb defused",6000,5);
    PlantedBomb = 0;
    KillTimer(Explode);
    return 1;

}


Neke slike/video za lakse dobivanje pomoci(neobavezno):
arnel avdic
5
Underboss
14. Jan. 2015.
#include 
#define COLOR_RED 0xFF0000AA
#define COLOR_BLUE 0x0000BBAA

new PostaviTim;
new PlantedBomb = 0;
new Explode;
new SetpScore;
new dbomb;

public OnGameModeInit()
{
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerConnect(playerid)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if (PostaviTim == 0)
    {
        new Tim = random(2);
        switch(Tim)
        {
            case 0:
            {
                PostaviTim = 1;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
            case 1:
            {

                PostaviTim = 2;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
        }
    }
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/plantbomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2) return SendClientMessage (playerid, COLOR_RED, "Cops can't plant bomb");
        if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
        if (PlantedBomb == 1) return SendClientMessage(playerid,COLOR_RED,"Bomb is already planted!");
        PlantedBomb = 1;
        SetpScore = 1;
        GameTextForAll("~r~Bomb has been planted!",3000,5);
        Explode = SetTimerEx("Explosion", 300000, false, "i", playerid);
    }

    if (strcmp("/defusebomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2)
        {
            if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
            if (PlantedBomb == 0) return SendClientMessage(playerid,COLOR_RED,"Bomb is not planted!");
            SendClientMessage(playerid,COLOR_RED,"You are defusing a bomg, please wait...");
            dbomb = 1;
            SetTimerEx("Defusion", 20000, false, "i", playerid);
            KillTimer(Explode
        }
        else
        {
            SendClientMessage (playerid, COLOR_RED, "Only cops can defuse bomb");
        }
    }
    return 0;
}

forward Explosion(playerid);
public Explosion(playerid)
{
    if(SetpScore == 1)
    {
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SetpScore = 0;
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for planting bomb");
    }
    GameTextForAll("~r~Bomb exploded",6000,5);
    CreateExplosion(212.9239,1820.3402,6.4216,12,20.0);
    PlantedBomb = 0;
    return 1;
    KillTimer(Explode);
}

forward Defusion(playerid);
public Defusion(playerid)
{
    if(dbomb == 1)
    {
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for defusing bomb");
        dbomb = -1;
    }
    GameTextForAll("~r~Bomb defused",6000,5);
    PlantedBomb = -1;
    return 1;
    KillTimer(Explode);

}

Probaj
mijata
4
Shot Caller
14. Jan. 2015.
o5 isto
arnel avdic
5
Underboss
14. Jan. 2015.
#include 
#define COLOR_RED 0xFF0000AA
#define COLOR_BLUE 0x0000BBAA

new PostaviTim;
new PlantedBomb = 0;
new Explode;
new SetpScore;
new dbomb;

public OnGameModeInit()
{
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerConnect(playerid)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if (PostaviTim == 0)
    {
        new Tim = random(2);
        switch(Tim)
        {
            case 0:
            {
                PostaviTim = 1;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
            case 1:
            {

                PostaviTim = 2;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
        }
    }
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/plantbomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2) return SendClientMessage (playerid, COLOR_RED, "Cops can't plant bomb");
        if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
        if (PlantedBomb == 1) return SendClientMessage(playerid,COLOR_RED,"Bomb is already planted!");
        PlantedBomb = 1;
        SetpScore = 1;
        GameTextForAll("~r~Bomb has been planted!",3000,5);
        Explode = SetTimerEx("Explosion", 300000, false, "i", playerid);
    }

    if (strcmp("/defusebomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2)
        {
            if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
            if (PlantedBomb == 0) return SendClientMessage(playerid,COLOR_RED,"Bomb is not planted!");
            SendClientMessage(playerid,COLOR_RED,"You are defusing a bomg, please wait...");
            dbomb = 1;
            SetTimerEx("Defusion", 20000, false, "i", playerid);
           
        }
        else
        {
            SendClientMessage (playerid, COLOR_RED, "Only cops can defuse bomb");
        }
    }
    return 0;
}

forward Explosion(playerid);
public Explosion(playerid)
{
    if(SetpScore == 1)
    {
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SetpScore = 0;
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for planting bomb");
    }
    GameTextForAll("~r~Bomb exploded",6000,5);
    CreateExplosion(212.9239,1820.3402,6.4216,12,20.0);
    PlantedBomb = 0;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      KillTimer(Explode);
    }
    return 1;
}

forward Defusion(playerid);
public Defusion(playerid)
{
    if(dbomb == 1)
    {
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for defusing bomb");
        dbomb = -1;
    }
    GameTextForAll("~r~Bomb defused",6000,5);
    PlantedBomb = -1;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      KillTimer(Explode);
    }
    return 1;

}


probaj sad jeboga
mijata
4
Shot Caller
14. Jan. 2015.
sada je problem sto igrac moze da defuse bombu i kad je vec defuse

tj moze da defuse kad nije bomba plantana
arnel avdic
5
Underboss
14. Jan. 2015.
#include 
#define COLOR_RED 0xFF0000AA
#define COLOR_BLUE 0x0000BBAA

new PostaviTim;
new PlantedBomb = 0;
new Explode;
new SetpScore;
new dbomb;

public OnGameModeInit()
{
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerConnect(playerid)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if (PostaviTim == 0)
    {
        new Tim = random(2);
        switch(Tim)
        {
            case 0:
            {
                PostaviTim = 1;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
            case 1:
            {

                PostaviTim = 2;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
        }
    }
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/plantbomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2) return SendClientMessage (playerid, COLOR_RED, "Cops can't plant bomb");
        if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
        if (PlantedBomb == 1) return SendClientMessage(playerid,COLOR_RED,"Bomb is already planted!");
        PlantedBomb = 1;
        SetpScore = 1;
        GameTextForAll("~r~Bomb has been planted!",3000,5);
        Explode = SetTimerEx("Explosion", 300000, false, "i", playerid);
    }

    if (strcmp("/defusebomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2)
        {
            if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
            if (PlantedBomb == 0) return SendClientMessage(playerid,COLOR_RED,"Bomb is not planted!");
            SendClientMessage(playerid,COLOR_RED,"You are defusing a bomg, please wait...");
            dbomb = 1;
            SetTimerEx("Defusion", 20000, false, "i", playerid);

        }
        else
        {
            SendClientMessage (playerid, COLOR_RED, "Only cops can defuse bomb");
        }
    }
    return 0;
}

forward Explosion(playerid);
public Explosion(playerid)
{
    if(SetpScore == 1)
    {
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SetpScore = 0;
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for planting bomb");
    }
    GameTextForAll("~r~Bomb exploded",6000,5);
    CreateExplosion(212.9239,1820.3402,6.4216,12,20.0);
    PlantedBomb = 0;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      KillTimer(Explode);
    }
    return 1;
}

forward Defusion(playerid);
public Defusion(playerid)
{
    if(dbomb == 1)
    {
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for defusing bomb");
        dbomb = -1;
    }
    GameTextForAll("~r~Bomb defused",6000,5);
    PlantedBomb = 0;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      KillTimer(Explode);
    }
    return 1;

}


eto
mijata
4
Shot Caller
14. Jan. 2015.
sad bomba opet eksplodira i ako je neko defuse
arnel avdic
5
Underboss
14. Jan. 2015.
mijata wrote on January 14, 2015, 10:28 pm:
e super sad radi samo kako da resim ovo sa relog moram 2,3 puta da bi mi upamtilo tim na primer ja udjem kao terorista i ovo zapamti kao da sam policija pa moram relog

to ne znam boga mi msm nemam koda skripte pošalji mi skriptu citavu i riješt cu
mijata
4
Shot Caller
14. Jan. 2015.
to cu ti poslati prvo da resimo ovo sad bomba opet eksplodira umesto da kad je neko deaktivira nemoze da eksplodira
arnel avdic
5
Underboss
14. Jan. 2015.
#include 
#define COLOR_RED 0xFF0000AA
#define COLOR_BLUE 0x0000BBAA

new PostaviTim;
new PlantedBomb = 0;
new Explode;
new SetpScore;
new dbomb;

public OnGameModeInit()
{
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerConnect(playerid)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if (PostaviTim == 0)
    {
        new Tim = random(2);
        switch(Tim)
        {
            case 0:
            {
                PostaviTim = 1;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
            case 1:
            {

                PostaviTim = 2;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
        }
    }
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/plantbomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2) return SendClientMessage (playerid, COLOR_RED, "Cops can't plant bomb");
        if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
        if (PlantedBomb > 0) return SendClientMessage(playerid,COLOR_RED,"Bomb is already planted!");
        PlantedBomb = 1;
        SetpScore = 1;
        GameTextForAll("~r~Bomb has been planted!",3000,5);
        Explode = SetTimerEx("Explosion", 300000, false, "i", playerid);
    }

    if (strcmp("/defusebomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2)
        {
            if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
            if (PlantedBomb < 1) return SendClientMessage(playerid,COLOR_RED,"Bomb is not planted!");
            SendClientMessage(playerid,COLOR_RED,"You are defusing a bomg, please wait...");
            dbomb = 1;
            SetTimerEx("Defusion", 20000, false, "i", playerid);
            PlantedBomb = -1;
        }
        else
        {
            SendClientMessage (playerid, COLOR_RED, "Only cops can defuse bomb");
        }
    }
    return 0;
}

forward Explosion(playerid);
public Explosion(playerid)
{
    if(SetpScore == 1)
    {
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SetpScore = 0;
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for planting bomb");
    }
    GameTextForAll("~r~Bomb exploded",6000,5);
    CreateExplosion(212.9239,1820.3402,6.4216,12,20.0);
    PlantedBomb = -1;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      KillTimer(Explode);
    }
    return 1;
}

forward Defusion(playerid);
public Defusion(playerid)
{
    if(dbomb == 1)
    {
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for defusing bomb");
        dbomb = -1;
    }
    GameTextForAll("~r~Bomb defused",6000,5);
    PlantedBomb = -1;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      KillTimer(Explode);
    }
    return 1;

}

eto sad probaj sve radil
mijata
4
Shot Caller
14. Jan. 2015.
sad opet eksplodira i ako je neko deaktivira
arnel avdic
5
Underboss
14. Jan. 2015.
#include 
#define COLOR_RED 0xFF0000AA
#define COLOR_BLUE 0x0000BBAA

new PostaviTim;
new PlantedBomb = 0;
new Explode;
new SetpScore;
new dbomb;

public OnGameModeInit()
{
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerConnect(playerid)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    PostaviTim = 0;
    SetpScore = 0;
    dbomb = 0;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if (PostaviTim == 0)
    {
        new Tim = random(2);
        switch(Tim)
        {
            case 0:
            {
                PostaviTim = 1;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
            case 1:
            {

                PostaviTim = 2;
                //SetPlayerSkin(playerid, ID Skina); // Ovo stavi ako hoces
            }
        }
    }
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/plantbomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2) return SendClientMessage (playerid, COLOR_RED, "Cops can't plant bomb");
        if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
        if (PlantedBomb > 0) return SendClientMessage(playerid,COLOR_RED,"Bomb is already planted!");
        PlantedBomb = 1;
        SetpScore = 1;
        GameTextForAll("~r~Bomb has been planted!",3000,5);
        Explode = SetTimerEx("Explosion", 300000, false, "i", playerid);
    }

    if (strcmp("/defusebomb", cmdtext, true, 10) == 0)
    {
        if (PostaviTim == 2)
        {
            if (!IsPlayerInRangeOfPoint(playerid,2.0,212.9239,1820.3402,6.4216)) return SendClientMessage(playerid,COLOR_RED,"You are not in the place for planting the bomb");
            if (PlantedBomb < 1) return SendClientMessage(playerid,COLOR_RED,"Bomb is not planted!");
            SendClientMessage(playerid,COLOR_RED,"You are defusing a bomg, please wait...");
            dbomb = 1;
            SetTimerEx("Defusion", 20000, false, "i", playerid);
            PlantedBomb = -1;
        }
        else
        {
            SendClientMessage (playerid, COLOR_RED, "Only cops can defuse bomb");
        }
    }
    return 0;
}

forward Explosion(playerid);
public Explosion(playerid)
{
if(PlantedBomb > 0)
{
    if(SetpScore == 1)
    {
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SetpScore = 0;
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for planting bomb");
    }
    GameTextForAll("~r~Bomb exploded",6000,5);
    CreateExplosion(212.9239,1820.3402,6.4216,12,20.0);
    PlantedBomb = -1;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      KillTimer(Explode);
    }
}
    return 1;
}

forward Defusion(playerid);
public Defusion(playerid)
{
    if(dbomb == 1)
    {
        GivePlayerMoney(playerid, 10000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 5);
        SendClientMessage(playerid, COLOR_RED, "Bomb:you got +5 score and 10000$ for defusing bomb");
        dbomb = -1;
    }
    GameTextForAll("~r~Bomb defused",6000,5);
    PlantedBomb = -1;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      KillTimer(Explode);
    }
    return 1;

}


eto
mijata
4
Shot Caller
14. Jan. 2015.
evo napokon radi  😄 , jel imas ti fb da te dodam

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha