tag mismatch
#1

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
Reply
#2

Replace:

Код:
if(PlayerInfo[playerid][sp2] == 1 && playersalto[playerid] == 1)
To:

Код:
if(PlayerInfo[playerid][sp2] == 1 || playersalto[playerid] == 1)
-Try <3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)