Little Help Needed with (/fps [id]) Command
#6

pawn Код:
COMMAND:fps(playerid,params[])
{
        new targetid;
            new string[256];
        if(sscanf(params,"u",targetid)) return SendClientMessage(playerid, LIGHTGREEN, "Usage:/fps <ID>");
            if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, ADMIN_RED, "That Player is not  Connected!");
        format(string, sizeof(string), "%s's (%d) Current Fps is: %d.", PlayerName(targetid), targetid, pFPS);
        SendClientMessage(playerid, LIGHTGREEN, string);
        return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)