Raised This Month: $ Target: $400
 0% 

ZP 5.0 Betas/Updates


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Snaker beatter
Veteran Member
Join Date: Sep 2011
Location: Manila, Philippines
Old 09-17-2011 , 09:44   Re: Zombie Plague 5.0 Beta 4
#481

THIS IS BETTER BUT STILL HAVE 2 PROBLEMS! :
1. Still have some bugs
2. The scriptors here is using ZP 4.3 natives not THis mod!
Snaker beatter is offline
musicbg91
Member
Join Date: Jan 2011
Location: Bulgaria
Old 09-17-2011 , 09:56   Re: Zombie Plague 5.0 Beta 4
#482

People when it's beta version it will have bugs anyway.That's why it's beta,it's for testing,when will you start reading the posts in the thread and stop spamming? We are waiting for the latest release,who have problems just use 4.3 or one of the fixes.
musicbg91 is offline
Send a message via Skype™ to musicbg91
artos
Senior Member
Join Date: Mar 2010
Old 09-17-2011 , 10:26   Re: Zombie Plague 5.0 Beta 4
#483

This is amazing.. I have done my human classes with skills. Everything works smooth and programming for new ZP is very easy! Thank you ZP Dev Team!
__________________
artos is offline
Send a message via Skype™ to artos
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 09-17-2011 , 10:33   Re: Zombie Plague 5.0 Beta 4
#484

Quote:
Originally Posted by artos View Post
This is amazing.. I have done my human classes with skills. Everything works smooth and programming for new ZP is very easy! Thank you ZP Dev Team!
Youre Welcome! Atleast some one appreciates the new natives system.
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
AfteR.
Veteran Member
Join Date: Dec 2008
Location: λ
Old 09-17-2011 , 14:30   Re: Zombie Plague 5.0 Beta 4
#485

Quote:
Originally Posted by artos View Post
This is amazing.. I have done my human classes with skills. Everything works smooth and programming for new ZP is very easy! Thank you ZP Dev Team!
I find it easier to done that in the old ZP. Anyway, if you find it better, good work
AfteR. is offline
UshioOkazaki
BANNED
Join Date: Apr 2010
Location: outer space~
Old 09-18-2011 , 05:09   Re: Zombie Plague 5.0 Beta 4
#486

wanna kiss MeRcyLeZZ
UshioOkazaki is offline
Send a message via MSN to UshioOkazaki
artos
Senior Member
Join Date: Mar 2010
Old 09-18-2011 , 16:55   Re: Zombie Plague 5.0 Beta 4
#487

I found a little bug. num_params is useless in this native i think. Write if i am right or not.

zp50_ammopacks.sma

PHP Code:
public native_ammopacks_get(plugin_idnum_params)
{
    new 
id get_param(1)
    
    if (!
is_user_valid(id))
    {
        
log_error(AMX_ERR_NATIVE"[ZP] Invalid Player (%d)"id)
        return -
1;
    }
    
    return 
g_AmmoPacks[id];

__________________
artos is offline
Send a message via Skype™ to artos
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-18-2011 , 16:59   Re: Zombie Plague 5.0 Beta 4
#488

Quote:
Originally Posted by artos View Post
I found a little bug. num_params is useless in this native i think. Write if i am right or not.

zp50_ammopacks.sma

PHP Code:
public native_ammopacks_get(plugin_idnum_params)
{
    new 
id get_param(1)
    
    if (!
is_user_valid(id))
    {
        
log_error(AMX_ERR_NATIVE"[ZP] Invalid Player (%d)"id)
        return -
1;
    }
    
    return 
g_AmmoPacks[id];

You can change that to

PHP Code:
public native_ammopacks_get(plugin_idnum_params

    if( 
num_params != 
    { 
        
log_error(AMX_ERR_NATIVE"[ZP] Wrong number of parameters."); 
        return -
1
    } 

    new 
id get_param(1

    if (!
is_user_valid(id)) 
    { 
        
log_error(AMX_ERR_NATIVE"[ZP] Invalid Player (%d)"id
        return -
1
    } 

    return 
g_AmmoPacks[id]; 

__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
artos
Senior Member
Join Date: Mar 2010
Old 09-18-2011 , 17:07   Re: Zombie Plague 5.0 Beta 4
#489

Quote:
Originally Posted by nikhilgupta345 View Post
You can change that to

code..
I'm just asking for what reason num_params is in ammopacks_get native because it's no use in this.
__________________
artos is offline
Send a message via Skype™ to artos
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 09-18-2011 , 18:02   Re: Zombie Plague 5.0 Beta 4
#490

Quote:
Originally Posted by artos View Post
I'm just asking for what reason num_params is in ammopacks_get native because it's no use in this.
It's a DYNAMIC native.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]

Last edited by Tirant; 09-18-2011 at 18:06.
Tirant is offline
Closed Thread



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 05:51.


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