Speedo not working
#8

I get those warnings now and I am not sure why

Код:
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(7365) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(7366) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(7367) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(7368) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(7369) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(41974) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(41988) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(42264) : warning 209: function "S@@_OnPlayerStateChange" should return a value
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(50121) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(50122) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(50123) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(50124) : warning 213: tag mismatch
C:\Users\andrei\Desktop\Scripting SA-MP\Advanced Roleplay (IBP)\gamemodes\panda.pwn(50125) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


13 Warnings.
7365 - 7369 lines
Код:
TextDrawHideForPlayer(playerid, speedo[0]);
		TextDrawHideForPlayer(playerid, speedo[1]);
		TextDrawHideForPlayer(playerid, speedo[2]);
		TextDrawHideForPlayer(playerid, speedo[3]);
		TextDrawHideForPlayer(playerid, speedo[4]);
41974 - 50125 lines
Код:
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
	{


	    /*TextDrawShowForPlayer(playerid, bg);
		TextDrawShowForPlayer(playerid, barsus);
		TextDrawShowForPlayer(playerid, vitezakm);
	    TextDrawShowForPlayer(playerid, viteza);
		TextDrawShowForPlayer(playerid, tipmasina);*/
		for(new i=0; i < 4; i++)
		{
      		TextDrawShowForPlayer(playerid, speedo[i]);
      		return 1;
		}

	}
	else if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
	{
	    /*TextDrawHideForPlayer(playerid, bg);
		TextDrawHideForPlayer(playerid, barsus);
		TextDrawHideForPlayer(playerid, vitezakm);
		TextDrawHideForPlayer(playerid, tipmasina);
		TextDrawHideForPlayer(playerid, viteza);*/
		for(new i=0; i < 4; i++)
		{
      		TextDrawHideForPlayer(playerid, speedo[i]);
      		return 1;
		}

	}
Код:
TextDrawHideForAll(speedo[0]);
	    TextDrawHideForAll(speedo[1]);
	    TextDrawHideForAll(speedo[3]);
	    TextDrawHideForAll(speedo[2]);
		TextDrawHideForAll(speedo[4]);
And when I go in game and hop into a vehicle it is just a big orange box above the screen.
http://imgur.com/a/WjrDZ
Reply


Messages In This Thread
Speedo warnings, help please - by AndreiWow - 02.01.2017, 13:48
Re: Speedo not working - by Codeah - 02.01.2017, 13:53
Re: Speedo not working - by AndreiWow - 02.01.2017, 14:01
Re: Speedo not working - by Codeah - 02.01.2017, 14:05
Re: Speedo not working - by SyS - 02.01.2017, 14:35
Re: Speedo not working - by Codeah - 02.01.2017, 14:42
Re: Speedo not working - by AndreiWow - 02.01.2017, 14:46
Re: Speedo not working - by AndreiWow - 02.01.2017, 14:58
Re: Speedo not working - by AndreiWow - 02.01.2017, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)