Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:checkraport(playerid, params[])
- {
- if(PlayerInfo[playerid][pLeader] == 0) return SCM(playerid, -1, "You are not a leader/admin");
- {
- if(PlayerInfo[playerid][pAdmin] == 0) return SCM(playerid, -1, "You are not a leader/admin");
- {
- if(playerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected.");
- new id, string[256], string2[256], nume[25];
- GetPlayerName(playerid, nume, sizeof(nume));
- if(sscanf(params, "u",id)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF9900}Scrie: {33CCFF}/checkraport <playerid>");
- format(string, sizeof(string), "Raportul de activitate a lui %s este %d/%d.", nume,PlayerInfo[playerid][pCommands], RaportPoints(playerid));
- format(string2, sizeof(string2), "%s are %d zile in factiune.", nume,PlayerInfo[playerid][pFactionTime]);
- SCM(playerid, COLOR_YELLOW, string);
- SCM(playerid, COLOR_YELLOW, string2);
- SCM(playerid, COLOR_YELLOW, "Daca jucatorul nu are raportul terminat dupa 7 zile, acesta va primi uninvite.");
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement