infinite ammo
#1

pawn Код:
if(strcmp(cmd, "/dgun", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            if(PlayerInfo[playerid][pDonateRank] == 1)
            {
                format(string, sizeof(string), "*%s got an infinite ammo deagle.*", sendername);
                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                GivePlayerWeapon(playerid, 24, 999);
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD2, "   You are not a donator !");
                return 1;
            }
        }
        return 1;
    }
I made this command and i want to know what do i need to replace the 999 with so i get infinite ammo when using this command.
Reply


Messages In This Thread
infinite ammo - by trulis - 14.06.2012, 19:29
Re: infinite ammo - by Vince - 14.06.2012, 19:30
Re: infinite ammo - by jessejanssen - 14.06.2012, 19:32
Re: infinite ammo - by Face9000 - 14.06.2012, 19:32
Re: infinite ammo - by trulis - 14.06.2012, 19:38
Re: infinite ammo - by kaisersouse - 14.06.2012, 22:06
Re: infinite ammo - by Phil_Cutcliffe - 13.02.2013, 20:39
Re: infinite ammo - by Ari - 14.02.2013, 02:35

Forum Jump:


Users browsing this thread: 2 Guest(s)