points command
#1

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

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;
}
thank you.
Reply


Messages In This Thread
points command - by AhmedMohamed - 23.04.2014, 13:01
Re: points command - by Rockyyy - 23.04.2014, 13:08
Re: points command - by AhmedMohamed - 23.04.2014, 13:14
Re: points command - by AroseKhanNiazi - 23.04.2014, 14:43
Re: points command - by BroZeus - 23.04.2014, 14:49
Re: points command - by AroseKhanNiazi - 23.04.2014, 14:50
Re: points command - by AhmedMohamed - 23.04.2014, 19:34
Re: points command - by Konstantinos - 23.04.2014, 20:03
Re: points command - by AhmedMohamed - 23.04.2014, 20:18
Re: points command - by AhmedMohamed - 23.04.2014, 20:41

Forum Jump:


Users browsing this thread: 1 Guest(s)