Errori

Započeo Martyn, April 15, 2020, 19:39:21 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Neki errori
Dio skripte:
cmd:stats( playerid, params[] ) {
	ShowUCP( playerid, playerid );
	va_format(string, sizeof(string), "* %s otvara svoju licnu kartu (/stats)", ImeIgraca(playerid));
 	PorukaRadius( 30.0, playerid, string, LJUBICASTA );
	return 1;
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
D:\New folder (2)\BEvolution by Martyn & Over\gamemodes\BEvolution.pwn(21088) : error 017: undefined symbol "dialog_STATSPRIKAZI"
D:\New folder (2)\BEvolution by Martyn & Over\gamemodes\BEvolution.pwn(63241) : error 025: function heading differs from prototype
D:\New folder (2)\BEvolution by Martyn & Over\gamemodes\BEvolution.pwn(63241) : error 025: function heading differs from prototype
D:\New folder (2)\BEvolution by Martyn & Over\gamemodes\BEvolution.pwn(63241) : error 021: symbol already defined: "pc_cmd_stats"
D:\New folder (2)\BEvolution by Martyn & Over\gamemodes\BEvolution.pwn(63241) : fatal error 107: too many error messages on one line

Slika/video ingame problema(obavezno ako je ingame problem): //

Vec imas komandu stats.. Za prvi nisi definisao dialog STATSPRIKAZI

#define dialog_STATSPRIKAZI BROJ //Pazi da se ne poklopi sa ostalim dialozima

Citat: V01D poslato April 15, 2020, 19:42:31 POSLE PODNE
Vec imas komandu stats.. Za prvi nisi definisao dialog STATSPRIKAZI

#define dialog_STATSPRIKAZI BROJ //Pazi da se ne poklopi sa ostalim dialozima

Definisao sam i ponovo isto