AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   invalid function call (https://forums.alliedmods.net/showthread.php?t=174443)

DoviuX 12-20-2011 08:08

invalid function call
 
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 ?

Devil259 12-20-2011 08:12

Re: invalid function call
 
What is j_gun1 and j_gun2 ? Show whole code.

Snaker beatter 12-20-2011 08:18

Re: invalid function call
 
Where is j_gun1 and j_gun2 can we see it?

DoviuX 12-20-2011 08:20

Re: invalid function call
 
Thanks arkshine

Arkshine 12-20-2011 08:37

Re: invalid function call
 
[][] -> []


All times are GMT -4. The time now is 11:53.

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