Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Wucko poslato Maj 19, 2014, 16:00:34 POSLE PODNE

Naslov: pomoc!!!!!
Poruka od: Wucko poslato Maj 19, 2014, 16:00:34 POSLE PODNE
=== 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;
}
Naslov: Odg: pomoc!!!!!
Poruka od: youngdeal poslato Maj 19, 2014, 16:01:05 POSLE PODNE
Procitajte pravila ovog podforuma!