AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Post Compiling Errors Here Release 0.1 (https://forums.alliedmods.net/showthread.php?t=145)

MagicShot 03-09-2004 05:15

Post Compiling Errors Here Release 0.1
 
I Thought Since I notice alot of problem post with compile errors..
It would be nice to have a Central place for them..

Hope This help keep from double postings...

Post Away... hehe

MagicShot 03-09-2004 05:17

amxmod.inc
 
1 Attachment(s)
I am Trying to compile amx_blanks.sma

and I get:

Code:
C:\HLServer\cstrike\addons\amxx\scripting\include\amxmod.inc(21) : warning 203: symbol is never used: "target" C:\HLServer\cstrike\addons\amxx\scripting\include\amxmod.inc(21) : warning 203: symbol is never used: "index"

kinda strange but Got Simular error with gore too..

Any Ideas..

xeroblood 03-09-2004 09:28

Both of these functions are in amxmod.inc and both give the above mentioned error.. for now, if you don't need those functions, just comment them out of the include file, and try compiling again...

Code:
//stock set_user_hitzones(index=0,target=0,body=255) //  return set_hitzones(body)   //stock get_user_hitzones(index,target) //  return get_hitzones()

if you notice, both index & target parameters are not used...

SniperBeamer 03-09-2004 09:32

xeroblood:
if you do this the plugin won't work anymore

just ignore the warnings...

xeroblood 03-09-2004 11:12

Quote:

Originally Posted by SniperBeamer
xeroblood:
if you do this the plugin won't work anymore

just ignore the warnings...

True if the plugin uses those functions, but Mine didn't so I simply removed them...

Also, I have another plugin that uses set_user_hitzones() but I cannot supply all the parameters to it (only body) so it doesn't work properly..

Johnny got his gun 03-09-2004 11:18

Just send me a sma of a plugin that uses set_user_hitzones and Ill implement its original interface.. I wasnt sure how to use it when I remade fun module, tahts why.

SniperBeamer 03-09-2004 13:07

http://www.amxmodx.org/forums/download.php?id=36

MagicShot 03-09-2004 13:29

Sniper....
 
Quote:

Originally Posted by SniperBeamer

Did you Edit The sma?

SniperBeamer 03-09-2004 13:34

no

I told you to ignore this warnings

MagicShot 03-09-2004 13:37

oh
 
Quote:

Originally Posted by SniperBeamer
no

I told you to ignore this warnings

Oh when you post the Like to the Sma I though t u edited or modified it..

Sorry..


All times are GMT -4. The time now is 00:55.

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