weapons script question.
#1

Hi i have a question.
i want to turn my weapon command into...

/w2 (weapon name) (player inserts ammount of ammo)

can anyone help me or at least give me a start?

Thank you for helping.

So far i have...
Код:
if (strcmp("/w2 ak47", cmdtext, true) == 0)
    {
        GivePlayerWeapon(playerid,30,99999);
        SendClientMessage(playerid, 0xFFFFFFFF, "You earned a ak47!");
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)