how to make random weapons in dm
#3

Add this in your teleport/death match command and fill in what weapons to give the player.

pawn Код:
switch( random( 4 ) ) // random 0 - 3
{
    case 0: //random was 0.. give them a set of weapons
    {
        GivePlayerWeapon(...);
        GivePlayerWeapon(...);
        GivePlayerWeapon(...);
    }
    case 1: //random was 1 so give them a different set of weapons
    {
        GivePlayerWeapon(...);
        GivePlayerWeapon(...);
        GivePlayerWeapon(...);
    }  
    case 2: //random was 2 so give them a different set of weapons
    {
        GivePlayerWeapon(...);
        GivePlayerWeapon(...);
        GivePlayerWeapon(...);
    }  
    case 3: //random was 3 so give them a different set of weapons (You get the idea)
    {
        GivePlayerWeapon(...);
        GivePlayerWeapon(...);
        GivePlayerWeapon(...);
    }  
}
Reply


Messages In This Thread
how to make random weapons in dm - by [nL]W0rfleR - 10.02.2011, 05:16
Re: how to make random weapons in dm - by fangoth1 - 10.02.2011, 05:18
Re: how to make random weapons in dm - by On_Top_Non_Stop - 10.02.2011, 06:19
Re: how to make random weapons in dm - by Mean - 10.02.2011, 12:37
Re: how to make random weapons in dm - by Davz*|*Criss - 10.02.2011, 12:53
Re: how to make random weapons in dm - by Mean - 10.02.2011, 14:34
Re: how to make random weapons in dm - by BlackWolf120 - 10.02.2011, 14:53
Re: how to make random weapons in dm - by Mean - 10.02.2011, 15:22
Re: how to make random weapons in dm - by BlackWolf120 - 10.02.2011, 15:26
Re: how to make random weapons in dm - by Mean - 10.02.2011, 18:09

Forum Jump:


Users browsing this thread: 2 Guest(s)