Author Topic: HELP!  (Read 2991 times)

[EG]~[S]aha~

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +1/-9
  • Liberty Unleashed!
    • View Profile
HELP!
« on: October 08, 2012, 08:21:49 pm »
can you do that after the murder of a player vypodalo weapons in a single game?

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
Re: HELP!
« Reply #1 on: October 08, 2012, 10:22:40 pm »
I think You Have To Use GooGle to translate xD
http://translate.google.com/?hl=ar&tab=wT#ru/en/

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: HELP!
« Reply #2 on: October 09, 2012, 04:59:06 pm »
I think You Have To Use GooGle to translate xD
http://translate.google.com/?hl=ar&tab=wT#ru/en/

I think he does. That's the problem.

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
Re: HELP!
« Reply #3 on: October 09, 2012, 08:12:24 pm »
I think You Have To Use GooGle to translate xD
http://translate.google.com/?hl=ar&tab=wT#ru/en/

I think he does. That's the problem.

OW xD may be he uses bad one not google

[RU]Kewun

  • Full Member
  • ***
  • Posts: 124
  • Karma: +11/-21
  • C.R.C Marshal
    • View Profile
Re: HELP!
« Reply #4 on: December 22, 2014, 09:51:03 pm »
Sorry for bump but i found solution for your answer:
use this script
function onPlayerDeath( player , reason )
{
   local model = 0;
   switch( player.Weapon )
   {
      case 1:
         model = 172;
         break;
         
      case 2:
         model = 173;
         break;

      case 3:
         model = 178;
         break;

      case 4:
         model = 176;
         break;

      case 5:
         model = 171;
         break;

      case 6:
         model = 180;
         break;         

      case 7:
         model = 177;
         break;

      case 8:
         model = 175;
         break;

      case 9:
         model = 181;
         break;

      case 10:
         model = 174;
         break;   

      case 11:
         model = 170;
         break;   
   }
   
   if( model != 0 )
   {
      local pickup = CreatePickup( model , player.Pos );
      if( pickup )
      {
         pickup.OneTime = true;
      }
   }
}

function onPickupPickedUp( player , pickup )
{
   local weapon = 0;
   switch( pickup.Model )
   {
      case 172:
         weapon = 1;
         break;
         
      case 173:
         weapon = 2;
         break;

      case 178:
         weapon = 3;
         break;

      case 176:
         weapon = 4;
         break;

      case 171:
         weapon = 5;
         break;

      case 180:
         weapon = 6;
         break;         

      case 177:
         weapon = 7;
         break;

      case 175:
         weapon = 8;
         break;

      case 181:
         weapon = 9;
         break;

      case 174:
         weapon = 10;
         break;   

      case 175:
         weapon = 11;
         break;   
   }
   
   if( weapon != 0 )
   {
      //999999 due to ammo bug..
      player.SetWeapon( weapon , 999999);
   }
}
Fear the wrath of god!


 

© Liberty Unleashed Team.