Bomb help sricpt
#6

do this to fix the server unknown cmd message.

pawn Код:
if(strcmp(cmd, "/plantbomb", true) == 0)
    {
        if (IsPlayerInRangeOfPoint(playerid, 1, 1459.8588,-1743.1594,721.2321))
        {
            if(PlayerInfo[playerid][pBomb] >= 1)
            {
                SendClientMessage(playerid, COLOR_LIGHTRED, "You planted the bomb the door will explode shortly");
                DestroyPlayerObject(playerid, dooratbank);
                LoopingAnim(playerid, "BOMBER","BOM_Plant_Loop",4.0,1,0,0,1,0);
            }
            else
            {
                SendClientMessage(playerid, COLOR_CREAM, "You don't have a bomb.");
            }
        }
        return 1; //here
    }
How did u create the object? Can u show me that part pls.
Reply


Messages In This Thread
Bomb help sricpt - by GTA-Roleplay - 03.09.2011, 21:31
Re: Bomb help sricpt - by GTA-Roleplay - 03.09.2011, 21:46
Re: Bomb help sricpt - by BlackWolf120 - 03.09.2011, 21:47
Re: Bomb help sricpt - by GTA-Roleplay - 03.09.2011, 21:54
Re: Bomb help sricpt - by GTA-Roleplay - 03.09.2011, 21:57
Re: Bomb help sricpt - by BlackWolf120 - 03.09.2011, 22:05
Re: Bomb help sricpt - by GTA-Roleplay - 03.09.2011, 22:08
Re: Bomb help sricpt - by Mauzen - 03.09.2011, 22:12
Re: Bomb help sricpt - by BlackWolf120 - 03.09.2011, 22:17
Re: Bomb help sricpt - by ModianO - 03.09.2011, 22:48

Forum Jump:


Users browsing this thread: 2 Guest(s)