Geelmik
Умник
У меня вот проблема
Как это убрать можно?
И вот сами строки
Это я скиллы по уроку вставлял
Урок от Barni
Код:
C:\Users\\Desktop\(8)\gamemodes\rls.pwn(44345) : warning 202: number of arguments does not match definition
C:\Users\\Desktop\(8)\gamemodes\rls.pwn(44346) : warning 202: number of arguments does not match definition
C:\Users\\Desktop\(8)\gamemodes\rls.pwn(44347) : warning 202: number of arguments does not match definition
C:\Users\\Desktop\(8)\gamemodes\rls.pwn(44348) : warning 202: number of arguments does not match definition
C:\Users\\Desktop\(8)\gamemodes\rls.pwn(44349) : warning 202: number of arguments does not match definition
C:\Users\\Desktop\(8)\gamemodes\rls.pwn(44350) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Warnings.
И вот сами строки
PHP:
public OnPlayerAmmoChange(playerid, newammo, oldammo)
{
if(newammo < oldammo)
{
Shot[playerid]++;
switch(GetPlayerWeapon(playerid))
{
case 24: if(Shot[playerid] >= 24 && PlayerInfo[playerid][pDesertEagle] < 100) PlayerInfo[playerid][pDesertEagle]++, Shot[playerid] = 0, SaveAccounts(playerid);
case 23: if(Shot[playerid] >= 30 && PlayerInfo[playerid][pSDPistol] < 100) PlayerInfo[playerid][pSDPistol]++, Shot[playerid] = 0, SaveAccounts(playerid);
case 25: if(Shot[playerid] >= 15 && PlayerInfo[playerid][pShotGun] < 100) PlayerInfo[playerid][pShotGun]++, Shot[playerid] = 0, SaveAccounts(playerid);
case 29: if(Shot[playerid] >= 75 && PlayerInfo[playerid][pMP5] < 100) PlayerInfo[playerid][pMP5]++, Shot[playerid] = 0, SaveAccounts(playerid);
case 30: if(Shot[playerid] >= 100 && PlayerInfo[playerid][pAK47] < 100) PlayerInfo[playerid][pAK47]++, Shot[playerid] = 0, SaveAccounts(playerid);
case 31: if(Shot[playerid] >= 89 && PlayerInfo[playerid][pM4] < 100) PlayerInfo[playerid][pM4]++, Shot[playerid] = 0, SaveAccounts(playerid);
}
}
return true;
}
Урок от Barni
