tag mismatch - 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)
+--- Thread: tag mismatch (
/showthread.php?tid=603766)
tag mismatch -
XxXBr0nXxX - 27.03.2016
if(newkeys & KEY_JUMP)
{
10671 if(PlayerInfo[playerid][sp2] == 1 && playersalto[playerid] == 1)
{
new Float: h1, Float: h2, Float: h3;
GetPlayerVelocity(playerid,h1,h2,h3);
SetPlayerVelocity(playerid,h1,h2,h3+2);
}
}
C:\Users\Administrator\Desktop\server\gamemodes\se rver.pwn(10671) : warning 213: tag mismatch
6002 new Float:ratio=floatdiv(PlayerInfo[i][Uccisioni]+PlayerInfo[i][Morti]/2);
C:\Users\Administrator\Desktop\server\gamemodes\se rver.pwn(6002) : warning 202: number of arguments does not match definition
Re: tag mismatch -
MrCallum - 27.03.2016
Replace:
Код:
if(PlayerInfo[playerid][sp2] == 1 && playersalto[playerid] == 1)
To:
Код:
if(PlayerInfo[playerid][sp2] == 1 || playersalto[playerid] == 1)
-Try <3