SetSpawnInfo overrides OnPlayerSpawn?
#5

Quote:
Originally Posted by LEOTorres
Посмотреть сообщение
I just tested it myself and SetSpawnInfo should not override OnPlayerSpawn, in fact, it's the opposite, anything you have within the OnPlayerSpawn callback should override values previously assigned within the SetSpawnInfo function. Is there a possibility that you may be using an external include that is causing conflict with OnPlayerSpawn initiating in combination with SetSpawnInfo?

Also, have you tried calling OnPlayerSpawn (playerid); manually? What happens?
Well, as I stated above i could not recreate the issue in another gamemode either.

OnPlayerSpawn calls correctly if used directly, however "SpawnPlayer(playerid)" isn't.
Reply


Messages In This Thread
SetSpawnInfo overrides OnPlayerSpawn? - by denNorske - 08.04.2017, 12:30
Re: SetSpawnInfo overrides OnPlayerSpawn? - by LEOTorres - 08.04.2017, 13:53
Re: SetSpawnInfo overrides OnPlayerSpawn? - by denNorske - 08.04.2017, 14:10
Re: SetSpawnInfo overrides OnPlayerSpawn? - by LEOTorres - 08.04.2017, 16:02
Re: SetSpawnInfo overrides OnPlayerSpawn? - by denNorske - 08.04.2017, 16:23
Re: SetSpawnInfo overrides OnPlayerSpawn? - by denNorske - 08.04.2017, 20:34
Re: SetSpawnInfo overrides OnPlayerSpawn? - by LEOTorres - 08.04.2017, 23:18

Forum Jump:


Users browsing this thread: 1 Guest(s)