AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   does the task will be removed on the map change? (https://forums.alliedmods.net/showthread.php?t=293203)

Old.School 01-25-2017 12:43

does the task will be removed on the map change?
 
if i use set task
does the task will be removed on the map change?

OciXCrom 01-25-2017 12:47

Re: does the task will be removed on the map change?
 
Map change = plugins shut down, so... no plugin = no task.

JusTGo 01-25-2017 12:47

Re: does the task will be removed on the map change?
 
yes.

Old.School 01-25-2017 13:02

Re: does the task will be removed on the map change?
 
any method to set task after the map change without using nvault/mysql/sqllite....

Black Rose 01-25-2017 13:08

Re: does the task will be removed on the map change?
 
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.

Old.School 01-25-2017 13:27

Re: does the task will be removed on the map change?
 
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?

OciXCrom 01-25-2017 16:06

Re: does the task will be removed on the map change?
 
What's wrong with saving the time in nVault and load it when the next map starts?

addons_zz 01-25-2017 17:59

Re: does the task will be removed on the map change?
 
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.


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

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