=== Error ===
(21147) : error 029: invalid expression, assumed zero
(21148) : error 029: invalid expression, assumed zero
Line 21147: {
Line 21148: if(AdminDuty[playerid] == 0 && return SCM(playerid,-1,""CRVENA"BGRP © "SIVA"Morate biti na Admin & Supporter duznosti!");
============== All code ===================================
YCMD:cc(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"BG:RP | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
if (PlayerInfo[playerid][pAdmin] >= 1
{
if(AdminDuty[playerid] == 0 && return SCM(playerid,-1,""CRVENA"BGRP © "SIVA"Morate biti na Admin & Supporter duznosti!");
new string[128]; foreach(Player,i) { OcistiChat(i, 120); }
format(string,sizeof(string),""BELA"www.bg-rp.ace.st ©"CRVENA" Chat je ocistio od strane "BELA"%s ",GetName(playerid));
SCMTA(-1, string);
format(string,sizeof(string), " "BELA"| "CRVENA"www.bg-rp.ace.st "BELA"|");
SCMTA(-1, string);
}
else
{
SCM(playerid, -1, "BGRP © "CRVENA"Samo Admin!");
}
return 1;
}
Procitajte pravila ovog podforuma!