AlliedModders

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

wangbochiang 08-09-2010 07:07

zp_get_user_zombie()
 
I'm sorry about edited to Solved.
down here is the question I need to help.
----

I have a plugin was make for zombie-plague.

I want it to made it work on my Zombie Mod.

Everything was fine until I stuck on zp_get_user_zombie()

how to I change zp_get_user_zombie to normal game-play mod?

*I've check zombieplague.inc but I'm still cant understand how's zp_get_user_zombie() work.

thanks in advance, and sorry about my bad english:oops:

DaxProxy 08-09-2010 07:24

Re: zp_get_user_zombie()
 
Just copy the zp_get_user_zombie() native to your plugin, don't worry about how it works...if you dont need to.

wangbochiang 08-09-2010 07:31

Re: zp_get_user_zombie()
 
*Solved*

DaxProxy 08-09-2010 07:36

Re: zp_get_user_zombie()
 
Because you dont have zombieplague plugin itself installed.
Look into zombieplague's code.

wangbochiang 08-09-2010 07:40

Re: zp_get_user_zombie()
 
*Solved*

DaxProxy 08-09-2010 07:44

Re: zp_get_user_zombie()
 
Dude, if you want to use Zombieplague's include file, you better include the plugin itself...else the include file is useless.

Hunter-Digital 08-09-2010 08:07

Re: zp_get_user_zombie()
 
If you want to use functions processed by a plugin in another plugin, you need to make it as a native... the main plugin that always works should have the natives registered and processed in there and in the include they must be defined for use in other plugins.

Just read this tutorial: http://forums.alliedmods.net/showthread.php?t=41251

wangbochiang 08-09-2010 16:15

Re: zp_get_user_zombie()
 
Quote:

Originally Posted by Hunter-Digital (Post 1266289)
If you want to use functions processed by a plugin in another plugin, you need to make it as a native... the main plugin that always works should have the natives registered and processed in there and in the include they must be defined for use in other plugins.

Just read this tutorial: http://forums.alliedmods.net/showthread.php?t=41251

thank you DaxProxy and Hunter-Digital

after I read the tutorial I rewrite the whole plugin.
now that plugin working stable in my Zombie Mod.

:3:3

Kreation 08-10-2010 01:45

Re: *Solved*
 
STOP deleting your posts. OMG.

Hunter-Digital 08-10-2010 06:53

Re: *Solved*
 
Indeed, stop overwriting your posts with "solved", this section isn't just for you, it's for people who need help, if they search in this section for the same thing, they will not find this topic because you freaking deleted the title and context... and we must then re-answer their topic with the same thing.


All times are GMT -4. The time now is 00:08.

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