Raised This Month: $12 Target: $400
 3% 

Make plugin_prechase called after plugin_cfg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 11-10-2017 , 06:28   Make plugin_prechase called after plugin_cfg
Reply With Quote #1

i want maje plugin_prechase function be called after plugin_cfg if ther is any ideas?
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 11-10-2017 , 06:38   Re: Make plugin_prechase called after plugin_cfg
Reply With Quote #2

i dont think so you will able to change the order of execution
indraraj striker is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 11-10-2017 , 06:42   Re: Make plugin_prechase called after plugin_cfg
Reply With Quote #3

as i remember some words from a devoloper amxx he said to me every thing is possible in pawn
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
Natsheh
Veteran Member
Join Date: Sep 2012
Old 11-10-2017 , 07:01   Re: Make plugin_prechase called after plugin_cfg
Reply With Quote #4

Whats the point of doing such a stupid thing?
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DeMNiX
Veteran Member
Join Date: Nov 2011
Location: Russia
Old 11-10-2017 , 07:48   Re: Make plugin_prechase called after plugin_cfg
Reply With Quote #5

better to save data to file before map changes and on restart server try to precache
__________________
My channel with test codes
https://www.youtube.com/user/demnix03

Zombie Riot [Scenario & bots-zombie 11.11.2023]
https://youtu.be/8ZZan-aq2sc

Last edited by DeMNiX; 11-10-2017 at 07:49.
DeMNiX is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 11-10-2017 , 08:07   Re: Make plugin_prechase called after plugin_cfg
Reply With Quote #6

Quote:
Originally Posted by Natsheh View Post
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 is offline
Send a message via Skype™ to D3XT3R
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 11-10-2017 , 08:09   Re: Make plugin_prechase called after plugin_cfg
Reply With Quote #7

Quote:
Originally Posted by DeMNiX View Post
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
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 11-10-2017 , 11:21   Re: Make plugin_prechase called after plugin_cfg
Reply With Quote #8

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
__________________
retired chump
DjSoftero is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-10-2017 , 12:43   Re: Make plugin_prechase called after plugin_cfg
Reply With Quote #9

I already told you it's not possible. And changing the sequence in which events are called is close to science fiction.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-10-2017 , 13:40   Re: Make plugin_prechase called after plugin_cfg
Reply With Quote #10

Quote:
Originally Posted by D3XT3R View Post
as i remember some words from a devoloper amxx he said to me every thing is possible in pawn
He lied to you. You can not change the order of execution.
__________________
HamletEagle is offline
Reply


Thread Tools
Display Modes

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 11:14.


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