Mi lehet a baj?
C:\\Users\\Lenovo\\Downloads\\valami\\gamemodes\\Roleplay.pwn(12953) : error 025: function heading differs from prototype
C:\\Users\\Lenovo\\Downloads\\valami\\gamemodes\\Roleplay.pwn(12971) : error 017: undefined symbol \"isseruid\"
az erroros pedig:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
new Float:HP;
GetPlayerHealth(playerid, HP);
switch(weaponid)
{
case 4: SetPlayerHealth(playerid, HP-30.0);
case 22: SetPlayerHealth(playerid, HP-25.0);
case 32: SetPlayerHealth(playerid, HP-25.0);
case 28: SetPlayerHealth(playerid, HP-25.0);
case 30: SetPlayerHealth(playerid, HP-30.0);
case 31: SetPlayerHealth(playerid, HP-21.0);
case 34: SetPlayerHealth(playerid, HP-70.0);
case 29: SetPlayerHealth(playerid, HP-25.0);
case 25: SetPlayerHealth(playerid, HP-40.0);
}
if(isseruid != INVALID_PLAYER_ID)
{
if(isValidWeaponForSpecialHit(weaponid))
{
switch(bodypart)
{
case 3: sInfo[playerid][Chest] += 1;
case 4: sInfo[playerid][Crotch] += 1;
case 5: sInfo[playerid][LArm] += 1;
case 6: sInfo[playerid][RArm] += 1;