Compile Errors
1 Attachment(s)
I am trying to edit this plugin: https://forums.alliedmods.net/showthread.php?p=1208693
When i try to re-compile, it has multiple errors on the same line. I'm not exactly sure what causes these errors. fortspawner.sp(998) : warning 219: local variable "client" shadows a variable at a preceding level fortspawner.sp(998) : warning 219: local variable "args" shadows a variable at a preceding level fortspawner.sp(1005) : warning 219: local variable "index" shadows a variable at a preceding level fortspawner.sp(1047) : warning 219: local variable "client" shadows a variable at a preceding level fortspawner.sp(1047) : warning 219: local variable "args" shadows a variable at a preceding level fortspawner.sp(1066) : warning 219: local variable "param" shadows a variable at a preceding level fortspawner.sp(1100) : warning 219: local variable "index" shadows a variable at a preceding level fortspawner.sp(1204) : warning 219: local variable "client" shadows a variable at a preceding level fortspawner.sp(1408) : error 021: symbol already defined: "RemoveEntity" fortspawner.sp(1410) : error 010: invalid function or declaration fortspawner.sp(1412) : error 010: invalid function or declaration fortspawner.sp(1417) : error 010: invalid function or declaration fortspawner.sp(1420) : error 010: invalid function or declaration fortspawner.sp(1424) : error 010: invalid function or declaration fortspawner.sp(1427) : error 021: symbol already defined: "GetCmdArg" fortspawner.sp(1429) : error 054: unmatched closing brace ("}") fortspawner.sp(1430) : error 010: invalid function or declaration fortspawner.sp(1433) : error 054: unmatched closing brace ("}") fortspawner.sp(1435) : error 010: invalid function or declaration fortspawner.sp(1439) : error 021: symbol already defined: "ReplyToCommand" fortspawner.sp(1440) : error 021: symbol already defined: "RemoveFromLimit" |
Re: Compile Errors
1 Attachment(s)
Can compile now
|
Re: Compile Errors
Thank you. It compiles fine now, but it has an issue where props are spawning underneath the map and not on top of it. You have to noclip under the map in order to see them. I had this issue with another buildmenu plugin and i'm not sure why it's doing it. I'm currently using this plugin for L4D1.
|
Re: Compile Errors
Quote:
|
Re: Compile Errors
You need to increase the Z index (vecPosition[2]) for some models cause their abs position may vary (I mean that not always the bottom of an entity is the 0,0,0 pos)
|
All times are GMT -4. The time now is 13:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.