AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Not defined.. (https://forums.alliedmods.net/showthread.php?t=22223)

aLpiNe^cLuBz 12-21-2005 15:34

Not defined..
 
I'm trying to reset a users death by using

Code:

set_user_deaths(id,0)
It complies perfectly but when I go into game to test it, it says "[AMXX] Plugin "blah.amxx" failed to load: Plugin uses an unknown function (name "set_user_deaths") - check your modules.ini."

Any help?

DarlD 12-21-2005 15:41

set_user_deaths doesnt work with counter-strike

you have to use the cstrike include with this function:
Code:
#include <cstrike> cs_set_user_deaths ( id, deaths )

aLpiNe^cLuBz 12-21-2005 15:43

No..this is for TS.

DarlD 12-21-2005 15:44

well in that case i cant help you sorry...

aLpiNe^cLuBz 12-21-2005 15:47

Umkay..that was a complete waste of 2 post by DarlD..Anyone else?

DarlD 12-21-2005 16:03

At least im trying to help :lol: Merry Christmas and be nice!

XxAvalanchexX 12-21-2005 20:00

Is the fun module running?

aLpiNe^cLuBz 12-21-2005 20:57

Yea. It complies and everything just has that 1 error when you enter the game. :x


All times are GMT -4. The time now is 15:48.

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