Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:cc(playerid, params[])
- {
- if(PlayerInfo[playerid][pGM] == 0 && PlayerInfo[playerid][pAdmin] == 0) {
- return SCM(playerid,-1,""ORANGE2"* Nemate ovlascenje za upotrebu ove komande.");
- }
- if(GetTimeEx() < cctime) {
- return SCM(playerid,-1,""ORANGE2"* Chat se moze cistiti svakih 5 sekundi.");
- }
- static string[128]; foreach(Player,i) { OcistiChat(i, 120); }
- format(string,sizeof(string),""SPLAVA"[SA:RP] "SIVA"Chat ocistio %s.",GetName(playerid));
- SCMTA(-1,string);
- SCMTA(-1, " "SPLAVA"| "SIVA"www."SPLAVA"sa-rpg"SIVA".com "SPLAVA"|");
- cctime = GetTimeEx() + 5;
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement