AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Make plugin_prechase called after plugin_cfg (https://forums.alliedmods.net/showthread.php?t=302761)

D3XT3R 11-10-2017 06:28

Make plugin_prechase called after plugin_cfg
 
i want maje plugin_prechase function be called after plugin_cfg if ther is any ideas?

indraraj striker 11-10-2017 06:38

Re: Make plugin_prechase called after plugin_cfg
 
i dont think so you will able to change the order of execution

D3XT3R 11-10-2017 06:42

Re: Make plugin_prechase called after plugin_cfg
 
as i remember some words from a devoloper amxx he said to me every thing is possible in pawn :D

Natsheh 11-10-2017 07:01

Re: Make plugin_prechase called after plugin_cfg
 
Whats the point of doing such a stupid thing?

DeMNiX 11-10-2017 07:48

Re: Make plugin_prechase called after plugin_cfg
 
better to save data to file before map changes and on restart server try to precache

D3XT3R 11-10-2017 08:07

Re: Make plugin_prechase called after plugin_cfg
 
Quote:

Originally Posted by Natsheh (Post 2559547)
Whats the point of doing such a stupid thing?

I will report you next time of you entre to my thread.
Stop using bad words in your .... Post

D3XT3R 11-10-2017 08:09

Re: Make plugin_prechase called after plugin_cfg
 
Quote:

Originally Posted by DeMNiX (Post 2559549)
better to save data to file before map changes and on restart server try to precache

you dont understand why i need that
because i want make models with cvars but if i changed model from cvar and restarted server it will not read the models to prechase them but it will read the default from from function plugin_prechase then will be called plugin_cfg whitch has the cvar model

DjSoftero 11-10-2017 11:21

Re: Make plugin_prechase called after plugin_cfg
 
just create the cvar in plugin_precache()... I think it gets called twice. So before creating a cvar check if it has already been made

OciXCrom 11-10-2017 12:43

Re: Make plugin_prechase called after plugin_cfg
 
I already told you it's not possible. And changing the sequence in which events are called is close to science fiction.

HamletEagle 11-10-2017 13:40

Re: Make plugin_prechase called after plugin_cfg
 
Quote:

Originally Posted by D3XT3R (Post 2559544)
as i remember some words from a devoloper amxx he said to me every thing is possible in pawn :D

He lied to you. You can not change the order of execution.


All times are GMT -4. The time now is 17:24.

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