01-10-2011, 02:47 PM | #1 |
Pew pew ze beams
Join Date: Jan 2008
Gametype: Gathers Affiliations: pew pew Posts Rated Helpful 11 Times
|
Sniper lua
Hi, so anyone can help me with a lua that consists on this.
Sniper class - No grenades - No autorifle, and the other machine gun that i dont know the name -Just Sniper rifle but with no Zoom avaible. Thks : D |
|
01-10-2011, 03:38 PM | #2 |
Banned
Join Date: Sep 2008
Class/Position: Soldier Gametype: AVD Affiliations: TALOS Posts Rated Helpful 5 Times
|
Code:
function player_spawn(this) local player = CastToPlayer(this) if player:GetClass() == Player.kSniper then player:RemoveAmmo(Ammo.kGren1, 4) player:RemoveAmmo(Ammo.kGren2, 4) player:RemoveWeapon("ff_weapon_autorifle") player:RemoveWeapon("ff_weapon_nailgun") end return true end Last edited by Bridget; 01-10-2011 at 03:40 PM. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|