[Ajuda] duelo
#2

pawn Код:
CMD:duel(playerid,params[])
{
    new dueloid,String[150];

    if(sscanf(params,"i",dueloid)) return SendClientMessage(playerid,Cinza,"use: /duel <1-2>");
    if(dueloid > 1 || dueloid < 2) return SendClientMessage(playerid,Cinza,"use: /duel <1-2>");

    switch(dueloid)
    {
        case 1:
        {
            GivePlayerWeapon(playerid,27,9999);
            GivePlayerWeapon(playerid,33,9999);
        }
        case 2:
        {
            GivePlayerWeapon(playerid,31,9999);
            GivePlayerWeapon(playerid,25,9999);
        }
    }
    return 1;
}
Reply


Messages In This Thread
duelo - by Lucas_HenryK - 18.10.2014, 14:31
Re: duelo - by CLANdok - 18.10.2014, 14:32
Re: duelo - by Lucas_HenryK - 18.10.2014, 14:34
Re: duelo - by CLANdok - 18.10.2014, 14:37
Re: duelo - by Lucas_HenryK - 18.10.2014, 14:59
Re: duelo - by ipsLuan - 18.10.2014, 15:20
Re: duelo - by PT - 18.10.2014, 17:27

Forum Jump:


Users browsing this thread: 4 Guest(s)