Raised This Month: $ Target: $400
 0% 

invalid function call


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 12-20-2011 , 08:08   invalid function call
Reply With Quote #1

Code:
// C:\Program Files (x86)\Counter-strike 1.6\cstrike\addons\amxmodx\scripting\Ju
ggerNoutb0.1.sma(108) : error 035: argument type mismatch (argument 2)
// C:\Program Files (x86)\Counter-strike 1.6\cstrike\addons\amxmodx\scripting\Ju
ggerNoutb0.1.sma(109) : error 035: argument type mismatch (argument 2)
PHP Code:
new const j_magunsa1[][] = { CSW_M249CSW_M4A1CSW_AK47CSW_AUG };
new const 
j_magunsa2[][] = { 200909090 };
new const 
j_nagunsa1[][] = { CSW_DEAGLECSW_P228CSW_ELITE };
new const 
j_nagunsa2[][] = { 3252120 };

cs_set_user_bpammoidj_magunsa1j_gun1 ], j_magunsa2j_gun1 ] );
cs_set_user_bpammoidj_nagunsa1j_gun2 ], j_nagunsa2j_gun2 ] ); 
Where could be the problem ?
DoviuX is offline
Send a message via Skype™ to DoviuX
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-20-2011 , 08:12   Re: invalid function call
Reply With Quote #2

What is j_gun1 and j_gun2 ? Show whole code.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
Snaker beatter
Veteran Member
Join Date: Sep 2011
Location: Manila, Philippines
Old 12-20-2011 , 08:18   Re: invalid function call
Reply With Quote #3

Where is j_gun1 and j_gun2 can we see it?
__________________
Snaker beatter is offline
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 12-20-2011 , 08:20   Re: invalid function call
Reply With Quote #4

Thanks arkshine

Last edited by DoviuX; 12-20-2011 at 08:39. Reason: Solved
DoviuX is offline
Send a message via Skype™ to DoviuX
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-20-2011 , 08:37   Re: invalid function call
Reply With Quote #5

[][] -> []
__________________
Arkshine 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 11:53.


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