Any one can help me
#1

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;
}
Reply
#2

The command is duplicated. Remove one of them.
Reply
#3

check you have created cmdoints 2 times remove one or rename it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)