AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Argument type mismatch (https://forums.alliedmods.net/showthread.php?t=76934)

Zend 09-02-2008 08:44

Argument type mismatch
 
PHP Code:

...
add_four_numbers(abcd)
{
   new 
sum d
 
   
return sum
}
...
 new 
a,b,c,d
 a 
5
 b 
5
 c 
5
 d 
5
 
new sum add_four_numbers(abcd)
 
server_print(sum

I have:
Error: Argument type mismatch (argument 1) on line 61:
(line 61 - server_print(sum) )

What is it wrong?

v3x 09-02-2008 08:49

Re: Argument type mismatch
 
PHP Code:

server_print"%d" sum 



All times are GMT -4. The time now is 03:06.

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