View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-14-2021 , 20:55   Re: Only To Real Devlopers ;)
Reply With Quote #2

These errors are not complicated, just look at what they tell you. You are posting in scripting help so I assume you are scripting the fixes yourself.

You have 2 functions with the same name, which you cannot do. How is the compiler supposed to know which one you want to call?
PHP Code:
public WallClimb(idbutton)
public 
WallClimb(idFloatiOrigin[3], FloatfNormalVector[3], button
This error is a result of that, as it's thinking you want to use the first one:
Code:
Error: Argument type mismatch (argument 2) on line 83
Same variable defined twice Up_Velocity, similar issue as the duplicate function definition:
PHP Code:
new FloatUp_Velocity;
new 
FloatFinal_Velocity[3], FloatUp_Velocity[3]; 
There's no function or macro defined as 'Z', so not sure what you're doing here:
PHP Code:
fl_Velocity[2] = (EntOrigin[2]- VicOrigin[2]) / fl_Time 
Fix these issues and report back
__________________
Bugsy is offline