Raised This Month: $32 Target: $400
 8% 

[HELP] error 088:


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 04-17-2016 , 04:37   [HELP] error 088:
Reply With Quote #1

- Lines :

PHP Code:
        switch ( random100 ) )
        {
            case 
0..49:
            {
            
                
zp_set_user_ammo_packsclient "zp_get_user_ammo_packs( client ) + points" ); // line 86
            
                
ColorChat0"%L"LANG_PLAYER"GAMBLE_MSG_WIN"GetUserNameclient ), points );
            
            }
            
            case 
50..100:
            {
            
                
zp_set_user_ammo_packsclient zp_get_user_ammo_packsclient ) - points); // line 95
            
                
ColorChat0"%L"LANG_PLAYER"GAMBLE_MSG_LOST"GetUserNameclient ), points );
            
            } 
- Error :

Code:
zp_gamble.sma(86) : error 088: number of arguments does not match definition
zp_gamble.sma(95) : error 088: number of arguments does not match definition
__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 04-17-2016 , 07:37   Re: [HELP] error 088:
Reply With Quote #2

it's not zp it's colorchat

Change

ColorChat( 0, "%L", LANG_PLAYER, "GAMBLE_MSG_WIN", GetUserName( client ), points );

to

ColorChat( 0, NORMAL, "%L", LANG_PLAYER, "GAMBLE_MSG_WIN", GetUserName( client ), points );

There are NORMAL, GREEN, TEAM_COLOR
siriusmd99 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-17-2016 , 08:53   Re: [HELP] error 088:
Reply With Quote #3

Remove the quotes from line 86.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 04-17-2016 , 10:33   Re: [HELP] error 088:
Reply With Quote #4

why random 100?

50/100= 1/2

use just :

if(random(2))
//code
else
//code..
siriusmd99 is offline
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 04-17-2016 , 12:39   Re: [HELP] error 088:
Reply With Quote #5

still have same errors
__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-17-2016 , 12:53   Re: [HELP] error 088:
Reply With Quote #6

We can't access your computer or brain memory and see them, can we?
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 04-17-2016 , 15:34   Re: [HELP] error 088:
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
We can't access your computer or brain memory and see them, can we?
I dont understand what you mean ??
__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 04-17-2016 , 15:42   Re: [HELP] error 088:
Reply With Quote #8

He means that you shall post full code to understand where error comes from.
siriusmd99 is offline
amir saiaoud
Senior Member
Join Date: May 2015
Location: essaouira , maroc
Old 04-17-2016 , 15:43   Re: [HELP] error 088:
Reply With Quote #9

Problem From The Native above
PHP Code:
native zp_set_user_ammo_packsid 
to
PHP Code:
native zp_set_user_ammo_packsid ,amount
__________________

Last edited by amir saiaoud; 04-17-2016 at 15:51.
amir saiaoud is offline
Send a message via Skype™ to amir saiaoud
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 04-17-2016 , 16:20   Re: [HELP] error 088:
Reply With Quote #10

Quote:
Originally Posted by siriusmd99 View Post
He means that you shall post full code to understand where error comes from.
No he means post the new errors.
__________________

Last edited by Black Rose; 04-19-2016 at 12:43.
Black Rose is offline
Old 04-18-2016, 00:18
Artifact
This message has been deleted by Artifact.
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 05:38.


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