AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Stupid Runtime Error For AvAMvM NS Plugin. (https://forums.alliedmods.net/showthread.php?t=5610)

Votorx 09-06-2004 18:04

Stupid Runtime Error For AvAMvM NS Plugin.
 
1 Attachment(s)
I keep getting the runtime error:

[AMXX] Function not found (name "DispatchKeyValue") (plugin "Amx_AvAMvM.amxx")

For a plugin that I've been trying to make that will allow Marines to play Marines and Aliens to play Aliens on any map in Natural Selection. I've tried quite a few things to get that fixed but non seem to work. I want to say its just Amxx .20 but it works fine on Amxx .16 (The function of course, there's a function specifically made for .20 that isn't found in Amxx .16 which is why I need to use .20) Could someone take a look over my plugin and help me figure out what the problem is so I can finally test it? Thanks.

Edit: DispatchKeyValue is a necesity

devicenull 09-06-2004 18:34

First, just include ns.inc. Non used functions will not add more space, so just include them all.. other then that, it looks fine

Votorx 09-06-2004 18:55

I get the same error, it didn't work.

BAILOPAN 09-06-2004 20:56

this function name changed in 0.20

Votorx 09-06-2004 21:25

Well...What'd it change to?

Votorx 09-07-2004 03:36

-.- Do you know?

BAILOPAN 09-07-2004 04:18

wait, no it didn't. I forget it if exists in 0.16

Votorx 09-07-2004 14:24

It does exist in .16. I would use .16 but I need the get_keyvalue function for my plugin in to work. Will this be fixed in the next update, or how can I fix it myself now?

Votorx 09-08-2004 17:49

OK...So since no one seems to know what the new function is, how can I use DispatchKeyValue() with amxx .20 or atleast find the information with some engine function in .16

Johnny got his gun 09-08-2004 18:55

*edit*

DispatchKeyValue should already be in engine, looks like nothing changed. Don't tell me you didn't enable engine module?


All times are GMT -4. The time now is 17:22.

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