[Pomoc]Error not implemented

Započeo Mirgo, Avgust 19, 2012, 13:55:44 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:GTA rp
Detaljan opis problema:ovako imam not implemented eror i kad dodam jos jednu zagradu nece da mi compile mod pa nez da li slucajno na pogresno mjesto dodajem
Dio skripte:new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /time",d,m,y,h,mi,s,sendername);
CommandLog(string);
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):


Citat: |MadDog| poslato Avgust 19, 2012, 14:25:56 POSLE PODNE
probaj ovako:

new y, m, d;
        {     
                {
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /time",d,m,y,h,mi,s,sendername);
CommandLog(string);
}
return 1;
}


jest kompajlat ce ti bez errora, ali ovo nema smisla, daj nam cijelu komandu il sta je to vec daj nam taj cijeli dio, ovo je noo-bot mod jelda?
Poslednja Izmena: Avgust 19, 2012, 14:37:52 POSLE PODNE od Zeljko_Vida
HAHAAHAHAHAHA
Citat: |MadDog| poslato Avgust 19, 2012, 14:58:54 POSLE PODNE
mzoda je do toga..  ja msm da ne mozes koristiti zcmd i stcrmp zajedno kao komande..


hajde mi daj taj cijeli dio, to je pretpostavljam komanda neka, /time valjda ali nema nis za prikazivanje to si ti briso nes jelda?
HAHAAHAHAHAHA
Citat: |MadDog| poslato Avgust 19, 2012, 14:58:54 POSLE PODNE
mzoda je do toga..  ja msm da ne mozes koristiti zcmd i stcrmp zajedno kao komande..

if(strcmp(cmd, "/time", true) == 0)
{
    if(IsPlayerConnected(playerid))
{
    new mtext[20];
new year, month,day;
getdate(year, month, day);
if(month == 1) { mtext = "January"; }
else if(month == 2) { mtext = "February"; }
else if(month == 3) { mtext = "March"; }
else if(month == 4) { mtext = "April"; }
else if(month == 5) { mtext = "May"; }
else if(month == 6) { mtext = "June"; }
else if(month == 7) { mtext = "July"; }
else if(month == 8) { mtext = "August"; }
else if(month == 9) { mtext = "September"; }
else if(month == 10) { mtext = "October"; }
else if(month == 11) { mtext = "November"; }
else if(month == 12) { mtext = "December"; }
    new hour,minuite,second;
gettime(hour,minuite,second);
if (minuite < 10)
{
if (PlayerInfo[playerid][pJailTime] > 0)
{
    if(PlayerInfo[playerid][pWatch] == 1)
    {
format(string, sizeof(string), "~y~%d %s~n~~g~|~w~%d:0%d~g~|~n~~w~Zatvorsko vrijeme: %d sek", day, mtext, hour, minuite, PlayerInfo[playerid][pJailTime]-10);
}
else
{
    format(string, sizeof(string), "~w~Zatvorsko vrijeme: %d sek", PlayerInfo[playerid][pJailTime]-10);
}
}
else
{
    if(PlayerInfo[playerid][pWatch] == 1)
    {
format(string, sizeof(string), "~y~%d %s~n~~g~|~w~%d:0%d~g~|", day, mtext, hour, minuite);
}
else
{
    format(string, sizeof(string), "~r~Nemate sat");
}
}
}
else
{
if (PlayerInfo[playerid][pJailTime] > 0)
{
    if(PlayerInfo[playerid][pWatch] == 1)
    {
format(string, sizeof(string), "~y~%d %s~n~~g~|~w~%d:%d~g~|~n~~w~Zatvorsko vrijeme: %d sek", day, mtext, hour, minuite, PlayerInfo[playerid][pJailTime]-10);
}
else
{
    format(string, sizeof(string), "~w~Zatvorsko vrijeme: %d sek", PlayerInfo[playerid][pJailTime]-10);
}
}
else
{
    if(PlayerInfo[playerid][pWatch] == 1)
    {
format(string, sizeof(string), "~y~%d %s~n~~g~|~w~%d:%d~g~|", day, mtext, hour, minuite);
}
else
{
    format(string, sizeof(string), "~r~Nemate sat");
}
}
}
GameTextForPlayer(playerid, string, 5000, 1);

if(PlayerInfo[playerid][pWatch] == 1)
{
    if(PlayerInfo[playerid][pSex] == 1) { format(string, sizeof(string), "* %s raises his hand and looks down at his watch.", sendername); }
    else { format(string, sizeof(string), "* %s raises her hand and looks down at her watch.", sendername); }
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
}
ApplyAnimation(playerid,"COP_AMBIENT","Coplook_watch",4.1,0,0,0,0,0);

new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /time",d,m,y,h,mi,s,sendername);
CommandLog(string);
}
return 1;
}

sto zelis s tom komandom da ti napravim? kaki je error kad ovako ubacis?
HAHAAHAHAHAHA
Citat: |MadDog| poslato Avgust 19, 2012, 14:58:54 POSLE PODNE
mzoda je do toga..  ja msm da ne mozes koristiti zcmd i stcrmp zajedno kao komande..

Commandlog is not implmeneted eto ti erora

probaj vako
if(strcmp(cmd, "/time", true) == 0)
{
    if(IsPlayerConnected(playerid))
{
    new mtext[20];
new year, month,day;
getdate(year, month, day);
if(month == 1) { mtext = "January"; }
else if(month == 2) { mtext = "February"; }
else if(month == 3) { mtext = "March"; }
else if(month == 4) { mtext = "April"; }
else if(month == 5) { mtext = "May"; }
else if(month == 6) { mtext = "June"; }
else if(month == 7) { mtext = "July"; }
else if(month == 8) { mtext = "August"; }
else if(month == 9) { mtext = "September"; }
else if(month == 10) { mtext = "October"; }
else if(month == 11) { mtext = "November"; }
else if(month == 12) { mtext = "December"; }
    new hour,minuite,second;
gettime(hour,minuite,second);
if (minuite < 10)
{
if (PlayerInfo[playerid][pJailTime] > 0)
{
    if(PlayerInfo[playerid][pWatch] == 1)
    {
format(string, sizeof(string), "~y~%d %s~n~~g~|~w~%d:0%d~g~|~n~~w~Zatvorsko vrijeme: %d sek", day, mtext, hour, minuite, PlayerInfo[playerid][pJailTime]-10);
}
else
{
    format(string, sizeof(string), "~w~Zatvorsko vrijeme: %d sek", PlayerInfo[playerid][pJailTime]-10);
}
}
else
{
    if(PlayerInfo[playerid][pWatch] == 1)
    {
format(string, sizeof(string), "~y~%d %s~n~~g~|~w~%d:0%d~g~|", day, mtext, hour, minuite);
}
else
{
    format(string, sizeof(string), "~r~Nemate sat");
}
}
}
else
{
if (PlayerInfo[playerid][pJailTime] > 0)
{
    if(PlayerInfo[playerid][pWatch] == 1)
    {
format(string, sizeof(string), "~y~%d %s~n~~g~|~w~%d:%d~g~|~n~~w~Zatvorsko vrijeme: %d sek", day, mtext, hour, minuite, PlayerInfo[playerid][pJailTime]-10);
}
else
{
    format(string, sizeof(string), "~w~Zatvorsko vrijeme: %d sek", PlayerInfo[playerid][pJailTime]-10);
}
}
else
{
    if(PlayerInfo[playerid][pWatch] == 1)
    {
format(string, sizeof(string), "~y~%d %s~n~~g~|~w~%d:%d~g~|", day, mtext, hour, minuite);
}
else
{
    format(string, sizeof(string), "~r~Nemate sat");
}
}
}
GameTextForPlayer(playerid, string, 5000, 1);

if(PlayerInfo[playerid][pWatch] == 1)
{
    if(PlayerInfo[playerid][pSex] == 1) { format(string, sizeof(string), "* %s raises his hand and looks down at his watch.", sendername); }
    else { format(string, sizeof(string), "* %s raises her hand and looks down at her watch.", sendername); }
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
}
ApplyAnimation(playerid,"COP_AMBIENT","Coplook_watch",4.1,0,0,0,0,0);
}
return 1;
}
HAHAAHAHAHAHA
Citat: |MadDog| poslato Avgust 19, 2012, 14:58:54 POSLE PODNE
mzoda je do toga..  ja msm da ne mozes koristiti zcmd i stcrmp zajedno kao komande..