Problem!

Započeo ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ, April 11, 2020, 16:24:31 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem (error/warning): Kada ukucam prvi put /toghud radi, a kada ocu da vratim TD-ove istom komandom /toghud pise da je komanda nepostojeca!
Dio skripte:
stock TogPlayerHud( playerid ) {

	if( TogHud[ playerid ] ) {

	    for( new i = 0; i < 21; i ++) {
			TextDrawShowForPlayer( playerid, DSLinija[ i ] );
		}
		TextDrawShowForPlayer(playerid, ServerPoruka1 );
		for( new i = 0; i < 6; i ++) {
			TextDrawShowForPlayer( playerid, DSLogo[ i ] );
		}

		PlayerTextDrawShow( playerid, BankaIgraca[ playerid ] );
	    PlayerTextDrawShow( playerid, PlataIgraca[ playerid ] );
	    PlayerTextDrawShow( playerid, ZlatoIgraca[ playerid ] );

	    ShowPlayerProgressBar( playerid, GladIgracaBar[ playerid ] );
	    PlayerTextDrawShow( playerid, GladIgraca[ playerid ] );

	    if( ServerInfo[ HappyHours ] == true ) {
		    TextDrawShowForPlayer( playerid, HappyHoursTD );
		}

	    TogHud[ playerid ] = false;
	}
	else if( !TogHud[ playerid ] ) {
	    for( new i = 0; i < 21; i ++) {
			TextDrawHideForPlayer( playerid, DSLinija[ i ] );
		}
		TextDrawHideForPlayer(playerid, ServerPoruka1 );
		for( new i = 0; i < 6; i ++) {
			TextDrawHideForPlayer( playerid, DSLogo[ i ] );
		}

        HidePlayerProgressBar( playerid, GladIgracaBar[ playerid ] );
	    PlayerTextDrawHide( playerid, GladIgraca[ playerid ] );

		PlayerTextDrawHide( playerid, BankaIgraca[ playerid ] );
	    PlayerTextDrawHide( playerid, PlataIgraca[ playerid ] );
	    PlayerTextDrawHide( playerid, ZlatoIgraca[ playerid ] );

	    TogHud[ playerid ] = true;

	    if( ServerInfo[ HappyHours ] == true ) {
		    TextDrawHideForPlayer( playerid, HappyHoursTD );
		}
	}
}

Debug iz server_log (ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema (obavezno ako je ingame problem): //
Founder of
Digression Community