pawn-lang / YSI-Includes

Just the YSI include files, none of the extra stuff.
208 stars 106 forks source link

Error when using y_commands #662

Closed Telzin2k closed 2 months ago

Telzin2k commented 6 months ago

I'm recently trying to use "y_commands", but it's giving me errors when compiling.

I'm using the latest version of YSI and the community compiler.

#include "../include/YSI-Includes/YSI_Visual\y_commands"

CMD:name(playerid, params[])
{
    // Run the command.
    return 1;
}

Error code

Pawn compiler 3.10.10                   Copyright (c) 1997-2006, ITB CompuPhase

../include/YSI-Includes/YSI_Visual\y_commands\y_commands_impl.inc(230) : error 001: expected token: "-identifier-", but found "("
../include/YSI-Includes/YSI_Visual\y_commands\y_commands_impl.inc(872) : error 017: undefined symbol "Iterator@YSI_g_sPlayerCmd"
../include/YSI-Includes/YSI_Visual\y_commands\y_commands_impl.inc(872) : error 017: undefined symbol "Iterator@YSI_g_sPlayerCmd"
../include/YSI-Includes/YSI_Visual\y_commands\y_commands_impl.inc(872) : warning 215: expression has no effect
../include/YSI-Includes/YSI_Visual\y_commands\y_commands_impl.inc(872) : error 001: expected token: ";", but found "]"
../include/YSI-Includes/YSI_Visual\y_commands\y_commands_impl.inc(872) : fatal error 107: too many error messages on one line

Compilation aborted.
Y-Less commented 6 months ago

Try with all \s instead of /s.