RemoveBuildingForPlayer after gmx -
jamesbond007 - 01.07.2013
If i use RemoveBuildingForPlayer then restart(gmx), the buildings are still removed.
So in my gamemode, it still removes buildings Onplayerconnect but There is no buildings to remove anymore so it crashes ( my game freezes ) thats it
i have to exit and connect again happens usually 2/3 time ..
Re: RemoveBuildingForPlayer after gmx -
DaRk_RaiN - 01.07.2013
I can confirm this one.
Re: RemoveBuildingForPlayer after gmx -
Gforcez - 01.07.2013
Quote:
Originally Posted by DaRk_RaiN
I can confirm this one.
|
Me too, can be fixed by using a timer.
Re: RemoveBuildingForPlayer after gmx -
kurta999 - 01.07.2013
SA-MP remove its from (GTA:SA) memory, and there is no restore functions. (Would be very easy, check MTA source code) So this will be removed till you aren't relog.
Respuesta: RemoveBuildingForPlayer after gmx -
enigma513 - 01.07.2013
Confirm
My Solution: I need to save a var after gmx, and reset var with a 20 sec timer on OnGameModeInit, if var is true RemoveBuldingForPlayer is not called on OnPlayerConnect.
Sorry for my bad English
Re: RemoveBuildingForPlayer after gmx -
FunkVolume - 02.07.2013
Gmx isn't the best way of restarting a server it gives me some minor complications, so instead I use /rcon exit give that a shot and see
Re: Respuesta: RemoveBuildingForPlayer after gmx -
DaRk_RaiN - 02.07.2013
Quote:
Originally Posted by enigma513
Confirm
My Solution: I need to save a var after gmx, and reset var with a 20 sec timer on OnGameModeInit, if var is true RemoveBuldingForPlayer is not called on OnPlayerConnect.
Sorry for my bad English
|
Tried that, works sometimes, but fails badely on others.
After a while each player connected will freeze on random times in random areas.
Re: RemoveBuildingForPlayer after gmx -
ToiletDuck - 09.07.2013
i dont encounter this.. but i got removebuilding and i place it under OnplayerConnect.