Raised This Month: $51 Target: $400
 12% 

Ayuda con native para dar ammo.


  
 
 
Thread Tools Display Modes
Author Message
TucanN#
Veteran Member
Join Date: May 2009
Location: Argentina, Mendoza
Old 03-24-2011 , 10:55   Ayuda con native para dar ammo.
#1

bueno mi pregunta era que otra native existe para dar balas(ammo), ademas de cs_set_weapon_ammo

Last edited by TucanN#; 03-24-2011 at 11:13.
TucanN# is offline
Send a message via MSN to TucanN#
DJHD!
Veteran Member
Join Date: Dec 2009
Location: Santiago, Chile
Old 03-24-2011 , 17:12   Re: Ayuda con native para dar ammo.
#2

Creando un stock??? xdd
__________________
Quote:
Originally Posted by XINLEI View Post
Porque rocccos trata de ser el metalicross que nunca va a poder ser.
DJHD! is offline
Send a message via MSN to DJHD!
nike!
Senior Member
Join Date: May 2009
Location: Melmac
Old 03-24-2011 , 18:11   Re: Ayuda con native para dar ammo.
#3

fijate en el amx super en una parte "//All ammo" te recarga tu arma sea cual sea
__________________
nike"
nike! is offline
Send a message via MSN to nike!
shinoda
Spanish Moderator
Join Date: Nov 2009
Location: ag_crossfire
Old 03-24-2011 , 22:10   Re: Ayuda con native para dar ammo.
#4

http://forums.alliedmods.net/showpos...99&postcount=9
__________________
Oh hell no this shit is awesome !!!
shinoda is offline
Send a message via MSN to shinoda Send a message via Skype™ to shinoda
!Morte
Veteran Member
Join Date: May 2010
Old 03-24-2011 , 23:32   Re: Ayuda con native para dar ammo.
#5

PHP Code:
// Set Weapon Clip Ammo
stock fm_set_weapon_ammo(entityamount)
{
    
set_pdata_int(entityOFFSET_CLIPAMMOamountOFFSET_LINUX_WEAPONS)

?
__________________
First Zombie Class
[ZP] Zombie Class: Houndeye Zombie
Quote:
Originally Posted by lucas_7_94 View Post
tenes que saber pawn antes de intentar hacer algo digno.
!Morte is offline
Send a message via MSN to !Morte Send a message via Skype™ to !Morte
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 03-25-2011 , 00:11   Re: Ayuda con native para dar ammo.
#6

Es lo mismo que cs_set_weapon_ammo.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 03-25-2011 , 13:21   Re: Ayuda con native para dar ammo.
#7

By CSDM (Include csdm, or not)

PHP Code:
register_event("CurWeapon""hook_CurWeapon""be""1=1")

public 
hook_CurWeapon(id)
{
    if (!
csdm_active()) // Include or not CSDM
    
{
        return
    }
    
    new 
wp read_data(2)
    
    if (
g_WeaponSlots[wp] == SLOT_PRIMARY || g_WeaponSlots[wp] == SLOT_SECONDARY)
    {
        new 
ammo cs_get_user_bpammo(idwp)
        
        if (
ammo g_MaxBPAmmo[wp])
        {
            
cs_set_user_bpammo(idwpg_MaxBPAmmo[wp])
        }
    }

__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode