Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Need a way to do this

$
0
0
Alright so hi.

I am making as much as possibly dynamic gamemode in pawn. Meaning, you can create teams in game, shops etc. etc. etc. Everything besides commands is dynamic (even the admin command permissions are dynamic, you can change them with a simple command)

Now im facing quite a problem.

Im converting some code to make the scripting doable directly from admin UCP. Aka create new teams from UCP and such.

Now in order to apply changes I have to reload the SQL, well the table that I have altered from in game to apply changes.

Now I am thought of some ways to do it but Im not quite sure if its the best

A: Have a timer running on X minutes to scan for changes
- The timer will check if there are more rows than with the last check, if there are reload the table.

B: Rcon GMX
- Well this can be executed from an outside source.

Now the problem with A is reloading too many tables therefore Id have different timers running on different intervals to restart the tables if there are changes
Problem with B, its an entire server restart.

Any suggestions?

Basically everything is stored inside SQL. Meaning teams, permissions, pickups, shops, checkpoints etc. etc. etc. etc.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>