Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Can't determine parameter type?

Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 27th Feb 2009 00:32 Edited at: 27th Feb 2009 01:24
So here's a function I've got in a plugin:

And here is my string table entry:

And for some reason if I try to compile the following code:

The compiler says it can't determine the parameter type of '2D Distance'.

I've already used float for parameters and return types in many other plugin functions and it's worked without a problem; what's wrong? I know I'm probably just missing something very stupid.


Nevermind, it appears that command names can't start with a number. I changed it to Distance 2D( ) and it works like a charm.

Login to post a reply

Server time is: 2023-12-01 01:07:52
Your offset time is: 2023-12-01 01:07:52