Skripta koju koristim:FS
Detaljan opis problema:Warninzi i Errori
Dio skripte:
zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
zcmd.inc(64) : error 017: undefined symbol "funcidx"
zcmd.inc(64) : warning 215: expression has no effect
zcmd.inc(64) : error 001: expected token: ";", but found ")"
zcmd.inc(64) : error 029: invalid expression, assumed zero
zcmd.inc(64) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Moderator:
Pisi naslove tema normalno ili cu ih zakljucavati ;)
Daj taj red di su ti errori i 3 reda povise i ispod njega
Citat: [BM]``G´´ poslato Oktobar 05, 2011, 23:47:03 POSLE PODNE
Daj taj red di su ti errori i 3 reda povise i ispod njega
public OnGameModeInit()
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
Citat: NemUs.Eazy poslato Oktobar 05, 2011, 23:52:17 POSLE PODNE
Citat: [BM]``G´´ poslato Oktobar 05, 2011, 23:47:03 POSLE PODNE
Daj taj red di su ti errori i 3 reda povise i ispod njega
public OnGameModeInit()
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
Na pocetku skripte napisi
new funcidx = ("OnPlayerCommandReceived") != -1;
a ta bi ti tribala izgledat onda ovako
zcmd_g_HasOPCS = funcidx;