[Pomoc] 4 errora

Započeo samirfox, Decembar 21, 2011, 21:51:32 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: GF
Detaljan opis problema: Imama par error/a, ako zna kako da ih fiksam zamolio bi za pomoc
Dio skripte: GamemoD
Neke slike/video za lakse dobivanje pomoci(neobavezno): Dole navedena slika
predhodna 2 errora sam post... i kad sam ih rijesio paffff... imam sta da vidim...



1- fatal error
2- warrning
3- error/a
Poslednja Izmena: Decembar 21, 2011, 22:15:22 POSLE PODNE od samirfox
[align=center]

[/align]

error 017: definisi funcidx
i aj postavi liniju 54

Citat: Odlazim? poslato Decembar 21, 2011, 22:19:46 POSLE PODNE
error 017: definisi funcidx
i aj postavi liniju 54

Mozes pojasnit malo.. ako it nije problem..
[align=center]

[/align]

idi STRG + G i ukucaj 54 i sto ti izbaci kopiraj i stavi u post

Citat: Odlazim? poslato Decembar 21, 2011, 22:44:21 POSLE PODNE
idi STRG + G i ukucaj 54 i sto ti izbaci kopiraj i stavi u post

izvoli tebra

#define TEAM_GREEN 3
[align=center]

[/align]

Problem ti je do nekog includea , vidiš da ti piše .inc ne .pwn odi u taj include gdje ti baca error i stavi ovdje liniju ako neznaš sam srediti.
"I'm a loser and a user so I don't need no accuser" - Billie Joe Armstrong

Citat: 20 Dollar Nosebleed poslato Decembar 22, 2011, 12:47:35 POSLE PODNE
Problem ti je do nekog includea , vidiš da ti piše .inc ne .pwn odi u taj include gdje ti baca error i stavi ovdje liniju ako neznaš sam srediti.

baca error tu, mozes mi pojasnit kakava je greska.. i ako nije problem podvuc nekako gdje greska.. kolko sam skonto u zcmd je error.. samo hmmm.. kako ga rijesit..

#if defined _zcmd_included
#endinput
#endif
#define _zcmd_included

#define MAX_FUNC_NAME (32)

#define COMMAND:%1(%2)          \
forward cmd_%1(%2); \
public cmd_%1(%2)

#define CMD:%1(%2) \
COMMAND:%1(%2)

#define command(%1,%2,%3) \
COMMAND:%1(%2, %3)

#define cmd(%1,%2,%3) \
COMMAND:%1(%2, %3)

#if !defined isnull
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif

forward OnPlayerCommandReceived(playerid, cmdtext[]);
forward OnPlayerCommandPerformed(playerid, cmdtext[], success);

static
bool:zcmd_g_HasOPCS = false,
bool:zcmd_g_HasOPCE = false;

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
zcmd_g_HasOPCE = funcidx("OnPlayerCommandPerformed") != -1;
    return CallLocalFunction("zcmd_OnFilterScriptInit", "");
}

#if defined _ALS_OnFilterScriptInit
    #undef OnFilterScriptInit
#else
    #define _ALS_OnFilterScriptInit
#endif
#define OnFilterScriptInit zcmd_OnFilterScriptInit
forward zcmd_OnFilterScriptInit();

#else /*not a filterscript*/

public OnGameModeInit()
{
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
zcmd_g_HasOPCE = funcidx("OnPlayerCommandPerformed") != -1;
if (funcidx("zcmd_OnGameModeInit") != -1)
{
return CallLocalFunction("zcmd_OnGameModeInit", "");
}
return 1;
}

#if defined _ALS_OnGameModeInit
    #undef OnGameModeInit
#else
    #define _ALS_OnGameModeInit
#endif
#define OnGameModeInit zcmd_OnGameModeInit
forward zcmd_OnGameModeInit();

#endif

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (zcmd_g_HasOPCS && !CallLocalFunction("OnPlayerCommandReceived", "is", playerid, cmdtext))
    {
        return 1;
    }
    new
        pos,
        funcname[MAX_FUNC_NAME];
    while (cmdtext[++pos] > ' ')
{
funcname[pos - 1] = tolower(cmdtext[pos]);
}
format(funcname, sizeof(funcname), "cmd_%s", funcname);
    while (cmdtext[pos] == ' ') ++pos;//pos++;
if (!cmdtext[pos])
{
if (zcmd_g_HasOPCE)
{
return CallLocalFunction("OnPlayerCommandPerformed", "isi", playerid, cmdtext, CallLocalFunction(funcname, "is", playerid, "\1"));
}
return CallLocalFunction(funcname, "is", playerid, "\1");
}
if (zcmd_g_HasOPCE)
{
return CallLocalFunction("OnPlayerCommandPerformed", "isi", playerid, cmdtext, CallLocalFunction(funcname, "is", playerid, cmdtext[pos]));
}
return CallLocalFunction(funcname, "is", playerid, cmdtext[pos]);
}

#if defined _ALS_OnPlayerCommandText
    #undef OnPlayerCommandText
#else
    #define _ALS_OnPlayerCommandText
#endif
#define OnPlayerCommandText zcmd_OnPlayerCommandText
forward zcmd_OnPlayerCommandText(playerid, cmdtext[]);
[align=center]

[/align]