Raised This Month: $ Target: $400
 0% 

does the task will be removed on the map change?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 01-25-2017 , 12:43   does the task will be removed on the map change?
Reply With Quote #1

if i use set task
does the task will be removed on the map change?
__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !
Old.School is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-25-2017 , 12:47   Re: does the task will be removed on the map change?
Reply With Quote #2

Map change = plugins shut down, so... no plugin = no task.
__________________

Last edited by OciXCrom; 01-25-2017 at 12:47.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
JusTGo
Veteran Member
Join Date: Mar 2013
Old 01-25-2017 , 12:47   Re: does the task will be removed on the map change?
Reply With Quote #3

yes.
__________________
JusTGo is offline
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 01-25-2017 , 13:02   Re: does the task will be removed on the map change?
Reply With Quote #4

any method to set task after the map change without using nvault/mysql/sqllite....
__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !
Old.School is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 01-25-2017 , 13:08   Re: does the task will be removed on the map change?
Reply With Quote #5

Creating a module that won't reload.
Are the methods you supplied not suitable?
If you share what you're trying to do then someone might find a better approach.
__________________
Black Rose is offline
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 01-25-2017 , 13:27   Re: does the task will be removed on the map change?
Reply With Quote #6

i just need to set task before the map change and the task stay after the map change and i was asking if there is any method except nvault/mysql/sqllite?
__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !

Last edited by Old.School; 01-25-2017 at 13:27.
Old.School is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-25-2017 , 16:06   Re: does the task will be removed on the map change?
Reply With Quote #7

What's wrong with saving the time in nVault and load it when the next map starts?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 01-25-2017 , 17:59   Re: does the task will be removed on the map change?
Reply With Quote #8

You can create a file on the disk, and check if it exists on plugin_init(), if so recreate the task, if not do not recreate it.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Reply



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 09:17.


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