Jump to content
  • 0

Bomb bug.



Salut. Sa trec la subiect. Am un minigame numit Tero vs Counter tot mrg perfect inafara ca la Counter numai id 0 poate dezamorsa bomba. restu id-urilor de la 1 pana la N nu pot so dezamorseze.Aveti fro ideie. cineva uitati datele de la defuse bomb.

[pawn]if(checkpointid == BombC)


        if(GetPlayerTeam(playerid) == TEAM_POLICE)


            if(IsPlayerInRangeOfPoint(playerid, 7.0, 3787.4651,-1002.8569,25.4665))


                if(IsPlanted[playerid] == 1)


                    SendClientMessage(playerid, COLOR_RED, "Bomb being defused !");

                    DefuseTimer = SetTimer("Defuse",10000,false);

                    if(IsPlanted[playerid] == 0)


                        SendClientMessageToAll(COLOR_RED, "Defused failed !");



                else return SendClientMessage(playerid, COLOR_RED, "(ERROR) Bomb has not been planted !");


            else return SendClientMessage(playerid, COLOR_RED, "(ERROR) You must be in Generator !");


        else return SendClientMessage(playerid, COLOR_RED, "(ERROR) Only Counter can defuse the bomb !");


    return 1;


Edit: AM uitat sa mentionez cand intru in checpoint imi zice (ERROR) Bomb has not been planted ! dar bomba este plantata.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.