Raised This Month: $ Target: $400
 0% 

Whats Better: FUN, or FAKEMETA


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MiloSx7
Member
Join Date: Oct 2011
Location: Serbia, Nish
Old 11-01-2011 , 07:40   Whats Better: FUN, or FAKEMETA
Reply With Quote #1

In some cases, like giving weapon via (give_item(id, weapon)) is it better to use FUN, or make another Stock with FM and use that to give weapons???
__________________
MiloS
MiloSx7 is offline
Send a message via MSN to MiloSx7
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-01-2011 , 07:42   Re: Whats Better: FUN, or FAKEMETA
Reply With Quote #2

fun and cstrike.

PHP Code:
give_item(id"weapon_ak47")
cs_set_user_bpammo(idCSW_AK4790
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
MiloSx7
Member
Join Date: Oct 2011
Location: Serbia, Nish
Old 11-01-2011 , 08:05   Re: Whats Better: FUN, or FAKEMETA
Reply With Quote #3

Ok, but i have another way for bpammo:

PHP Code:
new const maxAmmo[31] = {
    
0520901321100901120100100909090100120301202003290,
    
1209023590900100
}

new 
weapons[32]
    new 
weaponsnum
    
    get_user_weapons
(idweaponsweaponsnum)
    
    for(new 
0weaponsnum++)
    {
        if(
is_user_alive(id))
        {
            if(
maxAmmo[weapons[i]] > 0)
            {
                
cs_set_user_bpammo(idweapons[i], maxAmmo[weapons[i]])
            }
        }
    } 
Originally Stolen from QTM.Peyotes COD:MW Mod

Put that in SPAWN and it should give everyone a ammo...

Thanks anyway
__________________
MiloS
MiloSx7 is offline
Send a message via MSN to MiloSx7
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-01-2011 , 08:49   Re: Whats Better: FUN, or FAKEMETA
Reply With Quote #4

Quote:
Originally Posted by MiloSx7 View Post
Ok, but i have another way for bpammo:

PHP Code:
new const maxAmmo[31] = {
    
0520901321100901120100100909090100120301202003290,
    
1209023590900100
}

new 
weapons[32]
    new 
weaponsnum
    
    get_user_weapons
(idweaponsweaponsnum)
    
    for(new 
0weaponsnum++)
    {
        if(
is_user_alive(id))
        {
            if(
maxAmmo[weapons[i]] > 0)
            {
                
cs_set_user_bpammo(idweapons[i], maxAmmo[weapons[i]])
            }
        }
    } 
Originally Stolen from QTM.Peyotes COD:MW Mod

Put that in SPAWN and it should give everyone a ammo...

Thanks anyway
That code should work.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 11-01-2011 , 10:51   Re: Whats Better: FUN, or FAKEMETA
Reply With Quote #5

You should check this out: Modules and efficient scripting

And decide on your own what would be best in your code.
Erox902 is offline
MiloSx7
Member
Join Date: Oct 2011
Location: Serbia, Nish
Old 11-01-2011 , 12:53   Re: Whats Better: FUN, or FAKEMETA
Reply With Quote #6

Thanks
__________________
MiloS
MiloSx7 is offline
Send a message via MSN to MiloSx7
Reply


Thread Tools
Display Modes

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 14:19.


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