[Pomoc] Errori

Započeo VuKaN, Februar 04, 2016, 20:34:19 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: Edit Easy Money
Opis problema:
(94021) : error 001: expected token: "-string end-", but found "-identifier-"
(94021) : warning 215: expression has no effect
(94021) : error 001: expected token: ";", but found "-string-"
(94021) : warning 215: expression has no effect
(94021) : error 001: expected token: ";", but found ")"
(94021) : fatal error 107: too many error messages on one line

Deo skripte:
[pawn]CMD:aktivnost(playerid,params[], help)
{
   new id;
    if(sscanf(params, "i", id)) return SCM(playerid, -1, "/aktivnost (id)"); // to je ta linija
    if(!IsPlayerConnected(id)) return SCM(playerid, -1,""ZUTA"[x3M:HP]: "ZUTA"Pogresan ID!");
    new d1 = PlayerInfo[id][Ponedjeljak];
    new d2 = PlayerInfo[id][Utorak];
    new d3 = PlayerInfo[id][Srijeda];
    new d4 = PlayerInfo[id][Cetvrtak];
    new d5 = PlayerInfo[id][Petak];
    new d6 = PlayerInfo[id][Subota];
    new d7 = PlayerInfo[id][Nedjelja];
   new string[256];
   format(string,sizeof(string),"Ponedjeljak: %d sati\nUtorak: %d sati\nSrijeda: %d sati\nCetvrtak: %d sati\nPetak: %d sati\nSubota: %d sati\nNedjelja: %d sati",d1,d2,d3,d4,d5,d6,d7);
   ShowPlayerDialog(playerid, DIALOG_AKTIVNOSTIGRACA, DIALOG_STYLE_MSGBOX, GetName(id), string, "U redu", "");
   return 1;
}[/pawn]
Srecu cine male stvari i veliko pivo!
x3M-Gaming USKORO!