02.01.2017, 14:58
I get those warnings now and I am not sure why
7365 - 7369 lines
41974 - 50125 lines
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
Код:
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.
Код:
TextDrawHideForPlayer(playerid, speedo[0]); TextDrawHideForPlayer(playerid, speedo[1]); TextDrawHideForPlayer(playerid, speedo[2]); TextDrawHideForPlayer(playerid, speedo[3]); TextDrawHideForPlayer(playerid, speedo[4]);
Код:
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]);
http://imgur.com/a/WjrDZ