error with "cmd_leave"(+REP for helping) - 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: error with "cmd_leave"(+REP for helping) (
/showthread.php?tid=611766)
error with "cmd_leave"(+REP for helping) -
MarkNelson - 10.07.2016
Hi, today i got this error and i can't fix it, i tried 9-5 times and i can't the same probleme happen.
here is codes:
Код:
error 021: symbol already defined: "cmd_leave"
Код:
CMD:leave(playerid,params[])
{
if(InDerby[playerid] == 0) return SendClientMessage(playerid,COLOR_GREEN,"You are not in derby!");
{
InDerby[playerid] = 0;
SetPlayerHealth(playerid,0);
}
return 1;
}
the line of the error is in the first "{"
under CMD:leave
Re: error with "cmd_leave"(+REP for helping) -
Dayrion - 10.07.2016
You have already a command called "leave".
Re: error with "cmd_leave"(+REP for helping) -
MarkNelson - 10.07.2016
So what i must do?
i need them.
Name my command to other name?
Re: error with "cmd_leave"(+REP for helping) -
SyS - 10.07.2016
Quote:
Originally Posted by MarkNelson
So what i must do?
i need them.
Name my command to other name?
|
yeah
Re: error with "cmd_leave"(+REP for helping) -
MarkNelson - 10.07.2016
ty i fixed it.