[Help] Command
#1

What's wrong with this?

pawn Код:
new RandomWeapons[][] =
{
    {38},
    {36},
    {16},
    {39},
    {44},
    {28},
    {26},
    {24},
    {8}
};
pawn Код:
CMD:randomweapon(playerid, params[])
{
   new Weapons = random(sizeof(RandomWeapons));
   GivePlayerWeapon(playerid, RandomWeapons[Weapons], 5000);
   return 1;
}
Thanks.
Reply


Messages In This Thread
[Help] Command - by [00]Luis - 11.10.2011, 23:55
Re: [Help] Command - by =WoR=Varth - 12.10.2011, 00:04

Forum Jump:


Users browsing this thread: 2 Guest(s)