23.04.2014, 13:01
I made that command and added to my server but when i go into the server and type it, give me unknown command.


I don't know what the problem is
thank you.


I don't know what the problem is
pawn Код:
CMD:points(playerid, params[])
{
new string[128];
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
//ponit 1
format(string, sizeof(string), "%d) %s | Owned by: %s | Profit: $%d | Time Left: %d", idx+1, RPON(0), RFaN(PointInfo[0][pOwner]), PointInfo[0][pProfit], PointInfo[0][pTime]);
SendClientMessage(playerid, -1, string);
//point 2
format(string, sizeof(string), "%d) %s | Owned by: %s | Profit: $%d | Time Left: %d", idx+1, RPON(1), RFaN(PointInfo[1][pOwner]), PointInfo[1][pProfit], PointInfo[1][pTime]);
SendClientMessage(playerid, -1, string);
//point 3
format(string, sizeof(string), "%d) %s | Owned by: %s | Profit: $%d | Time Left: %d", idx+1, RPON(2), RFaN(PointInfo[2][pOwner]), PointInfo[2][pProfit], PointInfo[2][pTime]);
SendClientMessage(playerid, -1, string);
//point 4
format(string, sizeof(string), "%d) %s | Owned by: %s | Profit: $%d | Time Left: %d", idx+1, RPON(3), RFaN(PointInfo[3][pOwner]), PointInfo[3][pProfit], PointInfo[3][pTime]);
SendClientMessage(playerid, -1, string);
//point 5
format(string, sizeof(string), "%d) %s | Owned by: %s | Profit: $%d | Time Left: %d", idx+1, RPON(4), RFaN(PointInfo[4][pOwner]), PointInfo[4][pProfit], PointInfo[4][pTime]);
SendClientMessage(playerid, -1, string);
//point 6
format(string, sizeof(string), "%d) %s | Owned by: %s | Profit: $%d | Time Left: %d", idx+1, RPON(5), RFaN(PointInfo[5][pOwner]), PointInfo[5][pProfit], PointInfo[5][pTime]);
SendClientMessage(playerid, -1, string);
return 1;
}