AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Compiling problems (https://forums.alliedmods.net/showthread.php?t=334929)

Lautj1994 10-27-2021 10:05

Compiling problems
 
hi guys i have trouble compiling.
I get this error:
(2894) : warning 213: tag mismatch

PHP Code:

public sort_stringsi(const elem1[], const elem2[], const array[], data[], data_size)
{
    return 
strcmp(elem1elem21);



Napoleon_be 10-27-2021 10:12

Re: Compiling problems
 
Boolean has only 2 options: true or false. No integers should be used to specify the value.

return strcmp(elem1, elem2, 1);

-->

return strcmp(elem1, elem2, true);


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

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