Advertisement
PC_

Ammo Refill Cod4 Deathrun and manuadminmod

PC_
Mar 11th, 2013
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.70 KB | None | 0 0
  1. /*
  2.  
  3.         Addon:          Ammo
  4.     Version:        1.0
  5.     Requirement:    -       _admin.gsc and knowledge
  6.     Author:         PC
  7.     XFire:          propc
  8.     Homepage:       BraXi.org
  9.     Date:           3.10.2013
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16. */
  17.  
  18. 1. Installation
  19. 2. Put this in your _admin.gsc
  20.  
  21.     case "ammo":
  22.         player = getPlayer( arg1, pickingType );
  23.         if( isDefined( Player ) )
  24.         {
  25.             player iprintlnbold( "^1You Refilled Your ^3Ammo" );
  26.             player givemaxAmmo( "m40a3_mp");
  27.                         player givemaxAmmo( "remington700_mp");
  28.             iPrintln( "^3[Player]:^5 " + player.name + " ^2Refilled his/her Ammo" );
  29.         }
  30.         break;
  31.        
  32. 3.Then in your manu config.cfg add
  33.  
  34. ammo = "set admin ammo:<PLAYER:NAME>
  35.  
  36. 4. Load deathrun server your done :D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement