Raised This Month: $ Target: $400
 0% 

How do i fix these errors and a warning?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 12-06-2021 , 09:27   Re: How do i fix these errors and a warning?
Reply With Quote #3

Quote:
error 088: number of arguments does not match definition
RadiusDamage has 3 args and deals fractional HP so be aware of that if ever deciding to apply it to mods that are not round-based.
Quote:
(672) : error 025: function heading differs from prototype
This is the 'prototype'.
Code:
stock RadiusDamage(const Float:fExplodeAt[3], iDamageMultiplier, iRadiusMultiplier)
https://www.amxmodx.org/api/engine_stocks/RadiusDamage
Quote:
error 021: symbol already defined: "RadiusDamage"
Happens when trying to use a native or stock in this case as the name of your function.

Quote:
(734) : warning 209: function "RadiusDamage" should return a value
Once you get all the other stuff right that might go away. If not script might need type of a RETURN on end of function if it is working otherwise.

I shared the API link a few days ago. Why not use it?
__________________
DJEarthQuake is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode