Does 'SpawnPlayer' call 'OnPlayerSpawn' - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Does 'SpawnPlayer' call 'OnPlayerSpawn' (
/showthread.php?tid=457479)
Does 'SpawnPlayer' call 'OnPlayerSpawn' -
Dubya - 11.08.2013
If I were to make a script for roleplay so that they wouldn't have to hit the 'spawn button', it would just automatically spawn them when they login to their account, could I just use SpawnPlayer, then it calls what is in OnPlayerSpawn ?
Re: Does 'SpawnPlayer' call 'OnPlayerSpawn' -
[XST]O_x - 11.08.2013
If I remember correctly, yes, SpawnPlayer does call OnPlayerSpawn(if that's what you asked)
Re: Does 'SpawnPlayer' call 'OnPlayerSpawn' -
Dubya - 11.08.2013
Yeah, that is what I am asking. Thank you for your answer, will test now.