• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Error when using y_commands
#1
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.

PHP Code:
#include "../include/YSI-Includes/YSI_Visual\y_commands"

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

Error code

PHP 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
. 
  Reply