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

can somoen help meplz :(


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
djodjo1990
Member
Join Date: Aug 2010
Old 03-31-2011 , 22:42   can somoen help meplz :(
Reply With Quote #1

how i can add unlimited clip only in nemesis round and in assassin round no unlimited.
and thanks who help me )

Last edited by djodjo1990; 04-01-2011 at 00:11.
djodjo1990 is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-02-2011 , 18:15   Re: can somoen help meplz :(
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <zombieplague>

static cvar_ammo

public plugin_init()
    
register_plugin("[ZP] Nemesis round inf clip""1.0""93")

public 
zp_round_started(mode)
{
    if (
mode != MODE_NEMESIS)
        return;
    
    
cvar_ammo get_cvar_num("zp_human_unlimited_ammo")
    
set_cvar_num("zp_human_unlimited_ammo""2")
}

public 
zp_round_ended()
    
set_cvar_num("zp_human_unlimited_ammo""cvar_ammo"
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
alfredooo
Member
Join Date: Mar 2011
Old 04-02-2011 , 18:18   Re: can somoen help meplz :(
Reply With Quote #3

i use this too, so i should say tnx too
__________________
˜”*°•.˜”ALFEREDOOO*”˜.•°*”˜
.•°*”˜.•°*”˜”*°•.˜”*°•.
.•*˜ .•*˜*•. ˜*•.
.•˜•.
alfredooo is offline
alfredooo
Member
Join Date: Mar 2011
Old 04-02-2011 , 18:22   Re: can somoen help meplz :(
Reply With Quote #4

whats wrong?

__________________
˜”*°•.˜”ALFEREDOOO*”˜.•°*”˜
.•°*”˜.•°*”˜”*°•.˜”*°•.
.•*˜ .•*˜*•. ˜*•.
.•˜•.
alfredooo is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-02-2011 , 18:23   Re: can somoen help meplz :(
Reply With Quote #5

try it like this then
PHP Code:
#include <amxmodx> 
#include <zombieplague> 

static cvar_ammo 

public plugin_init() 
    
register_plugin("[ZP] Nemesis round inf clip""1.0""93"

public 
zp_round_started(mode

    if (
mode != MODE_NEMESIS
        return; 
     
    
cvar_ammo get_cvar_num("zp_human_unlimited_ammo"
    
set_cvar_num("zp_human_unlimited_ammo""2"


public 
zp_round_ended() 
    
set_cvar_num("zp_human_unlimited_ammo""%d"cvar_ammo
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
alfredooo
Member
Join Date: Mar 2011
Old 04-02-2011 , 18:35   Re: can somoen help meplz :(
Reply With Quote #6

tnx but . . . it has error again, do u compile it without errors?


__________________
˜”*°•.˜”ALFEREDOOO*”˜.•°*”˜
.•°*”˜.•°*”˜”*°•.˜”*°•.
.•*˜ .•*˜*•. ˜*•.
.•˜•.
alfredooo is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-02-2011 , 19:06   Re: can somoen help meplz :(
Reply With Quote #7

yea...don't know any other way to fix that problem
if a better scripter wants to help go ahead...
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
alfredooo
Member
Join Date: Mar 2011
Old 04-02-2011 , 19:16   Re: can somoen help meplz :(
Reply With Quote #8

ummm, can u attach compiled file?
__________________
˜”*°•.˜”ALFEREDOOO*”˜.•°*”˜
.•°*”˜.•°*”˜”*°•.˜”*°•.
.•*˜ .•*˜*•. ˜*•.
.•˜•.
alfredooo is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-02-2011 , 19:17   Re: can somoen help meplz :(
Reply With Quote #9

i can't compile it eather
just try it like this
PHP Code:
#include <amxmodx>  
#include <zombieplague>  

public plugin_init()  
    
register_plugin("[ZP] Nemesis round inf clip""1.0""93")  

public 
zp_round_started(mode)  
{  
    if (
mode != MODE_NEMESIS)  
        return;  
    
    
set_cvar_num("zp_human_unlimited_ammo""2")  
}  

public 
zp_round_ended()  
    
set_cvar_num("zp_human_unlimited_ammo""1"
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
alfredooo
Member
Join Date: Mar 2011
Old 04-02-2011 , 19:20   Re: can somoen help meplz :(
Reply With Quote #10

error again . . .
__________________
˜”*°•.˜”ALFEREDOOO*”˜.•°*”˜
.•°*”˜.•°*”˜”*°•.˜”*°•.
.•*˜ .•*˜*•. ˜*•.
.•˜•.
alfredooo 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 08:16.


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