AlliedModders

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

allenwr 08-29-2008 22:27

plugin_init
 
Quick question involving a yes no answer

PHP Code:

public plugin_ini() {
     
register_pluing("stuff")
     
start_timer()
}

public 
start_timer() {
     
//stuff



danielkza 08-29-2008 22:28

Re: plugin_init
 
The question being?

allenwr 08-29-2008 22:33

Re: plugin_init
 
That i can start another part of the plugin for the init, its been a while since I did any scripting.

danielkza 08-29-2008 22:37

Re: plugin_init
 
Quote:

Originally Posted by allenwr (Post 678337)
That i can start another part of the plugin for the init, its been a while since I did any scripting.

Yes, you can call anything you want in plugin_init, and the second function does not need to be public.

allenwr 08-29-2008 22:42

Re: plugin_init
 
thanks much


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

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