Any one can help me - 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: Any one can help me (
/showthread.php?tid=650489)
Any one can help me -
jasonaguas75 - 01.03.2018
error 021: symbol already defined: "cmd_points"
My Code:
CMD: points(playerid, params[])
{
new string[128];
for(new i; i < MAX_POINTS; i++)
{
if(Points[i][Type] >= 0)
{
if(Points[i][Vulnerable] == -1)
{
format(string, sizeof(string), "Name: %s | Owner: %s | Captured By: %s | Hours: Temporarily disabled", Points[i][Name],Points[i][Owner],Points[i][CapperName]);
}
else
{
format(string, sizeof(string), "Name: %s | Owner: %s | Captured By: %s | Hours: %d", Points[i][Name],Points[i][Owner],Points[i][CapperName],Points[i][Vulnerable]);
}
SendClientMessage(playerid, COLOR_WHITE, string);
}
}
return 1;
}
Re: Any one can help me -
Fratello - 01.03.2018
The command is duplicated. Remove one of them.
Re: Any one can help me -
BulletRaja - 01.03.2018
check you have created cmd
oints 2 times remove one or rename it