Raised This Month: $ Target: $400
 0% 

Help scripting a fairly easy task


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-29-2014 , 07:52   Re: Help scripting a fairly easy task
Reply With Quote #6

well, here is the code how set_task works
PHP Code:
set_task0.1"myfunc" )
public 
myfunc()
{


0.1 is time but
there's no needs for task.

just put this somewhere in your plugin
PHP Code:
public plugin_init() server_cmd("amx_reloadadmins"

Last edited by .Dare Devil.; 06-29-2014 at 07:53.
.Dare Devil. is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:14.


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