Pomoc oko PAWNA !

Započeo jOzI.aMx, Februar 20, 2018, 20:19:56 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Detaljan opis problema: Komanda /cc
Dio skripte:
YCMD:cc(playerid, params[], help)
{
    #pragma unused help
   #pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"UP:RP | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
   if (PlayerInfo[playerid][pGM] >= 1 || PlayerInfo[playerid][pAdmin] >= 1)
   {
       if(AdminDuty[playerid] == 0 && GMDuty[playerid] == 0) return SCM(playerid,-1,""CRVENA"[C:RPG] "SIVA"Morate biti na Admin & GameMaster duznosti!");
       foreach(Player,i) { OcistiChat(i, 120); }
       SendClientMessageToAll(-1, "{0099FF}(C:RPG):{FFFFFF}ChatBox je ocistio Admin{0099FF} %s{FFFFFF} !",GetName(playerid));
       SendClientMessageToAll(-1, "{FFFFFF}=== www.{0099FF}cypress-info{FFFFFF}.net ===",GetName(playerid));
   }
   else
   {
      SCM(playerid, -1, "[C:RPG] "ZUTA"Samo Admini & GameMasteri!");
   }
   return 1;
}
Neke slike/video za lakse dobivanje pomoci(neobavezno): //
Ostalo: Izbaci mi ova dva warninga:
C:\Users\User\Desktop\Cypress Community\gamemodes\kazascript.pwn(8323) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Cypress Community\gamemodes\kazascript.pwn(8324) : warning 202: number of arguments does not match definition

Ovo -> SendClientMessageToAll(-1, "{FFFFFF}=== www.{0099FF}cypress-info{FFFFFF}.net ===",GetName(playerid));
zameni sa ovim SendClientMessageToAll(-1, "{FFFFFF}=== www.{0099FF}cypress-info{FFFFFF}.net ===");

A ovo -> SendClientMessageToAll(-1, "{0099FF}(C:RPG):{FFFFFF}ChatBox je ocistio Admin{0099FF} %s{FFFFFF} !",GetName(playerd));
sa ovim


    new string[ 128 ];
    format( string, sizeof( string ),   "{0099FF}(C:RPG):{FFFFFF}ChatBox je ocistio Admin{0099FF} %s{FFFFFF} !",GetName(playerid));
    SendClientMessageToAll(-1, string );


Moras prvo da formatiras poruku, ne mozes ovako.