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

ammo start


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BLANCIKJOINT_
Member
Join Date: Oct 2013
Old 09-28-2014 , 14:17   ammo start
Reply With Quote #1

I am looking for a plugin who gives new players to start ap
BLANCIKJOINT_ is offline
VickGamer
Senior Member
Join Date: Sep 2014
Old 09-28-2014 , 15:08   Re: ammo start
Reply With Quote #2

you mean , you are need plugin to give players ammo ?
VickGamer is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 09-29-2014 , 04:19   Re: ammo start
Reply With Quote #3

Please give more information. ;)
zmd94 is offline
BLANCIKJOINT_
Member
Join Date: Oct 2013
Old 10-01-2014 , 11:04   Re: ammo start
Reply With Quote #4

ammo start new player amxx
BLANCIKJOINT_ is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-01-2014 , 11:35   Re: ammo start
Reply With Quote #5

How much the amount of AP do you want to give?

Last edited by zmd94; 10-01-2014 at 11:36.
zmd94 is offline
BLANCIKJOINT_
Member
Join Date: Oct 2013
Old 10-02-2014 , 05:04   Re: ammo start
Reply With Quote #6

300 ammo
BLANCIKJOINT_ is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-02-2014 , 07:06   Re: ammo start
Reply With Quote #7

Just try below:
PHP Code:
#include <amxmodx>
#include <zombieplague> 
#include <hamsandwich>

new cvar_apamount

public plugin_init()
{    
    
register_plugin("[ZP] Addon: Free AP""1.0""zmd94")
    
    
RegisterHam(Ham_Spawn"player""fw_PlayerRespawn"1)
    
    
cvar_apamount register_cvar("zp_ammo_packs_amount""300"// The values of ammo packs reward 
}

public 
fw_PlayerRespawn(id)
{
    if (
is_user_alive(id))
    {
        
zp_set_user_ammo_packs(idzp_get_user_ammo_packs(id) + get_pcvar_num(cvar_apamount))
    }

zmd94 is offline
BLANCIKJOINT_
Member
Join Date: Oct 2013
Old 10-02-2014 , 08:32   Re: ammo start
Reply With Quote #8

great but it's not what I mean I mean



zp_starting_ammo_packs 300 // Starting amount of ammo packs for new players

Last edited by BLANCIKJOINT_; 10-02-2014 at 08:35.
BLANCIKJOINT_ is offline
BLANCIKJOINT_
Member
Join Date: Oct 2013
Old 10-02-2014 , 08:33   Re: ammo start
Reply With Quote #9

you can still help me with this

https://forums.alliedmods.net/showth...01#post2206001
BLANCIKJOINT_ is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-02-2014 , 09:25   Re: ammo start
Reply With Quote #10

So, you want the free AP will only be given to the new player that have just connect to your server?

By the way for the second problem, have you tried the solution given?

;)
zmd94 is offline
Reply



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 06:42.


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