10.02.2011, 06:19
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(...);
}
}