[Pomoc]Erori i warninzi :)

Započeo NemUs.Eazy
5. Okt. 2011.
730
pregleda
4
postova
NemUs.Eazy
2
Street Runner
5. Okt. 2011.
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  😉
Razbojnik
4
Shot Caller
5. Okt. 2011.
Daj taj red di su ti errori i 3 reda povise i ispod njega
NemUs.Eazy
2
Street Runner
5. Okt. 2011.
Quote from October 5, 2011, 9:47 pm:
Daj taj red di su ti errori i 3 reda povise i ispod njega
public OnGameModeInit()
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
Razbojnik
4
Shot Caller
5. Okt. 2011.
NemUs.Eazy wrote on October 5, 2011, 9:47 pm:
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;

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha