2 Errors
#1

Hello lads, I've gotten great help here the last few days and all I need now is for my last 2 errors to be done and I can open my server! Can anyone please help, I will REP you 100 percent. Thank you.

So, here are my errors:
Quote:

C:\Users\Aoky\Desktop\New folder\Murderer.pwn(321) : error 010: invalid function or declaration
C:\Users\Aoky\Desktop\New folder\Murderer.pwn(334) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Here is line 316 to 321:
Quote:

public OnPlayerRequestSpawn(playerid) return SpawnPlayer(playerid);

forward OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ);
forward OnPlayerGiveDamageActor(playerid, damaged_actorid, Float: amount, weaponid, bodypart);

return 1;
}

Here is line 334:
Quote:

public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart){return 1;}

Thank you once again. X
Reply


Messages In This Thread
2 Errors - by aoky - 26.01.2017, 15:19
Re: 2 Errors - by AjaxM - 26.01.2017, 15:27
Re: 2 Errors - by aoky - 26.01.2017, 15:34
Re: 2 Errors - by AjaxM - 26.01.2017, 15:38
Re: 2 Errors - by aoky - 26.01.2017, 15:46
Re: 2 Errors - by GoldenLion - 26.01.2017, 17:52
Re: 2 Errors - by aoky - 26.01.2017, 18:30

Forum Jump:


Users browsing this thread: 1 Guest(s)