AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Resolved] Compilation Error (https://forums.alliedmods.net/showthread.php?t=49609)

Yourgod | DarkSider 01-08-2007 15:11

[Resolved] Compilation Error
 
So , i made a Plugin ... And i receive an error when i compile it ( I'm compiling it at www.amxmodx.org/webcompiler.cgi )

The error is :

Code:

/home/groups/amxmodx/tmp3/phpaEv2CK.sma(59) : error 035: argument type mismatch (argument 1)
On line :

Code:

if(equal(cs_get_user_money(id),"16000"))
Can someone help me ? I really don't know how to fix it ...

Thanks ,
DarkSider .

teame06 01-08-2007 15:46

Re: Compilation Error
 
Code:
if(cs_get_user_money(id) == 16000))

Yourgod | DarkSider 01-09-2007 06:15

Re: Compilation Error
 
Thanks mate .
+karma .

dutchmeat 01-09-2007 06:25

Re: Compilation Error
 
Code:


if(cs_get_user_money(id) == 16000)



to be precise

Yourgod | DarkSider 01-09-2007 12:29

Re: Compilation Error
 
Yeah ; I knewed that ... I'm not so dumb , but thanks :) .

Problem solved .


All times are GMT -4. The time now is 22:29.

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