[HELP] Dynamic Spawn
#2

If I’m not mistaken, this system sets a unique spawn, and what you are trying to achieve is a unique spawn per player. You will need to heavily edit the script, for instance new D_Info[DynamicSpawn]; would become new D_Info[MAX_PLAYERS][DynamicSpawn]; and you’d have to transform every D_Info into D_Info[playerid]
I think you’d be better off starting from scratch using sqlite / mysql (i strongly advise you not to go the ini way) and using /savepos command would set a per player spawn, the location being saved in the databse.
Just get back the values from the databse when a player connects, and set his position to those values when he spawns.
Reply


Messages In This Thread
[HELP] Dynamic Spawn - by RogerX - 05.04.2020, 19:30
Re: [HELP] Dynamic Spawn - by Adamoneoone - 05.04.2020, 21:40
Re: [HELP] Dynamic Spawn - by CheckThisOut - 06.04.2020, 23:10

Forum Jump:


Users browsing this thread: 1 Guest(s)