![]() |
|
[Pawn] Error when using y_commands - Printable Version +- open.mp forum (https://forum.open.mp) +-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) +--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) +--- Thread: [Pawn] Error when using y_commands (/showthread.php?tid=2522) |
Error when using y_commands - Jhames - 2023-12-17 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.
|