AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Compile Errors (https://forums.alliedmods.net/showthread.php?t=331653)

Diggingwolf2605 03-31-2021 08:03

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"

Cruze 04-01-2021 01:23

Re: Compile Errors
 
1 Attachment(s)
Can compile now

Diggingwolf2605 04-02-2021 07:24

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.

Cruze 04-02-2021 08:36

Re: Compile Errors
 
Quote:

Originally Posted by Diggingwolf2605 (Post 2742730)
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.

I don't anything about L4D1 and its plugins sadly D:

Marttt 04-02-2021 09:13

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.