y_commands error 017 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: y_commands error 017 (
/showthread.php?tid=547983)
y_commands error 017 -
AMouldyLemon - 26.11.2014
pawn Код:
YCMD:kill(playerid, params[], help)
{
if (help)
{
SendClientMessage(playerid, Grey, "Kill yourself.");
}
else
{
SetPlayerHealth(playerid, 0.0);
}
return 1;
}
EDIT: Put the wrong command in
error 017: undefined symbol "@yC_kill"
Don't tell me to use ZCMD, thank you.
Re: y_commands error 017 -
AMouldyLemon - 26.11.2014
The command is at the bottom of my script along with the other commands, it's just that one that returns that error.
Re: y_commands error 017 -
AMouldyLemon - 26.11.2014
pawn Код:
#include <YSI\y_commands>
YCMD:kill(playerid, params[], help)
{
if(help) {
SendClientMessage(playerid, Grey, "Kill yourself.");
}
else
{
SetPlayerHealth(playerid, 0.0);
}
return 1;
}
\gamemodes\Untitled.pwn(360) : error 017: undefined symbol "@yC_kill"
\gamemodes\Untitled.pwn(360) : error 017: undefined symbol "@yC_kill"
EDIT
Re: y_commands error 017 -
AMouldyLemon - 26.11.2014
I had a missing bracket.. My bad.