[Plugin] [0.3.7] PySAMP - Python based Gamemodes
#4

Quote:
Originally Posted by Y_Less
View Post
How do you reload a mode without a gmx? gmx stands for "GameMode eXit", so if you don't do that you don't leave the mode you are supposedly reloading. GMX also does a lot of useful things - for example it is the only time you can change certain settings such as player ped animations and player classes.
It's not a real reload so these settings can't be set during it. But it's possible to reload python modules during runtime.
As long as you keep the state of the module synchronous to sa-mp (more precisely clean the state during reload and undo everything), it's possible to do it mostly.

But, I'll create an example soon!
Reply


Messages In This Thread
[0.3.7] PySAMP - Python based Gamemodes - by Yannick2Go - 22.02.2019, 17:23
Re: [0.3.7] PySAMP - Python based Gamemodes - by The King's Bastard - 22.02.2019, 19:57
Re: [0.3.7] PySAMP - Python based Gamemodes - by RenanMsV - 22.02.2019, 23:09
Re: [0.3.7] PySAMP - Python based Gamemodes - by Yannick2Go - 23.02.2019, 15:32

Forum Jump:


Users browsing this thread: 1 Guest(s)