SA-MP Forums Archive
[HELP] Strange warning! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Strange warning! (/showthread.php?tid=259486)



[HELP] Strange warning! - KillCity - 04.06.2011

Hello guys, as I was completing my gamemode I get this warning:

Код:
D:\Programmi\Rockstar Games\GTA San Andreas\Server SAMP\gamemodes\KillCity_Roleplay.pwn(7971) : warning 213: tag mismatch
D:\Programmi\Rockstar Games\GTA San Andreas\Server SAMP\gamemodes\KillCity_Roleplay.pwn(7973) : warning 213: tag mismatch
D:\Programmi\Rockstar Games\GTA San Andreas\Server SAMP\gamemodes\KillCity_Roleplay.pwn(7973) : warning 213: tag mismatch
D:\Programmi\Rockstar Games\GTA San Andreas\Server SAMP\gamemodes\KillCity_Roleplay.pwn(7974) : warning 213: tag mismatch
D:\Programmi\Rockstar Games\GTA San Andreas\Server SAMP\gamemodes\KillCity_Roleplay.pwn(7974) : warning 213: tag mismatch
D:\Programmi\Rockstar Games\GTA San Andreas\Server SAMP\gamemodes\KillCity_Roleplay.pwn(7975) : warning 213: tag mismatch
Pawn compiler 3.2.3664                  Copyright © 1997-2006, ITB CompuPhase


6 Warnings.
Also, when I am in the server, when I die I sometimes will read Staying in the world boundaries, how do I remove it?
PS: When I die and I'm part of a faction (Example: Police) come respawn with normal clothes and not those of the faction, how do I fix this bug?

Edit: [INFORMATION] To get back the clothes I have to dissolve the party and must buy back the HQ.


Re: [HELP] Strange warning! - geerdinho8 - 04.06.2011

Post the lines:
7971 till 7975


Re: [HELP] Strange warning! - KillCity - 04.06.2011

7971:
Код:
else if(type!=pdrunklevel)PlayerInfo[playerid][pdrunklevel]+=amount;
7973:
Код:
if(PlayerInfo[playerid][type]+amount>50000)PlayerInfo[playerid][type]=50000;
7974:
Код:
else if(PlayerInfo[playerid][type]+amount<0)PlayerInfo[playerid][type]=0;
7975:
Код:
else PlayerInfo[playerid][type]+=amount;



Re: [HELP] Strange warning! - geerdinho8 - 04.06.2011

From wich script did you copy this?


Re: [HELP] Strange warning! - KillCity - 04.06.2011

From an italian gamemode. If you want to place the download link to let you download.