Post: [CONVERTED]Refill Ammo!
01-21-2015, 06:56 AM #1
Jacob-And-Britt
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys i made this script for cod4 a while back and i recently tried to start working on bo2 but its very intense how ever i did manage to convert this script. Its nothing to big something like this can be found in champagne you go up to it and press square and it refills your ammo. I had the right model for cod4 however i couldn't find the model for bo2. The model you need is from search and destroy its where you go plant the bomb. If you know the model please let me know so that way i can update this thread!

Script:
    
RefillAmmo()//Works great just needs bomb model
{
level.Ammo = spawn("script_model", self.origin+(0,-180,0));
level.Ammo setmodel("defaultvehicle");
for(;Winky Winky
{
for( i = 0; i < level.players.size; i++ )
{
Player = level.players[i];
clearLowerMessage(1);
if(distance(player.origin, level.Ammo.origin)<75)
{
setLowerMessage("Press F To Refill Ammo");
if(player UseButtonPressed())
{
clearLowerMessage(1);
weap=player GetCurrentWeapon();
player setWeaponAmmoClip(weap,150);
}
}
wait 0.01;
}
}
wait 0.01;
}


Original link for cod4
You must login or register to view this content.

The following 3 users say thank you to Jacob-And-Britt for this useful post:

Taylor, Uk_ViiPeR
01-21-2015, 08:05 AM #2
T H C
Haxor!
Pretty cool dude. Smile

The following user thanked T H C for this useful post:

Jacob-And-Britt
01-21-2015, 09:35 AM #3
migjack
Can’t trickshot me!
Great Script Happy

For Model test that : " prop_suitcase_bomb " but I 'm not sure.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo