Does SpawnPlayer calls 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 calls OnPlayerSpawn? (
/showthread.php?tid=575073)
Does SpawnPlayer calls OnPlayerSpawn? -
Blackazur - 23.05.2015
Does it?
Re: Does SpawnPlayer calls OnPlayerSpawn? -
Stev - 23.05.2015
https://sampwiki.blast.hk/wiki/OnPlayerSpawn
Quote:
This callback is called when a player spawns.(i.e. after caling SpawnPlayer function)
|
Re: Does SpawnPlayer calls OnPlayerSpawn? -
NoDi522 - 23.05.2015
You can use something like this:
PHP код:
public OnPlayerConnect(playerid)
{
SpawnPlayer(playerid);
}
Re: Does SpawnPlayer calls OnPlayerSpawn? -
MP2 - 23.05.2015
Why can't you just test it? It's not exactly difficult..