SA-MP Forums Archive
Spawn - 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: Spawn (/showthread.php?tid=437127)



Spawn - CurlyPwn - 14.05.2013

in ravens roleplay when u write yr password u striaght away spawn my free roam server when u write yr pass u have to press spawn to spawn :/ can someone help


Re: Spawn - HyDrAtIc - 14.05.2013

Find out OnPlayerConnect then:

put in the ends of it this code:

pawn Код:
SpawnPlayer(playerid);



Re: Spawn - CurlyPwn - 14.05.2013

Not Work^


Re: Spawn - CurlyPwn - 14.05.2013

Any Other Suggestions?


AW: Spawn - HurtLocker - 14.05.2013

Add the spawnplayer(playerid) inside onplayerrequestspawn


Re: Spawn - Facerafter - 14.05.2013

If i understand right you want to remove the "spawn" button and spawn automaticlly?
IF yes
What i did:
Put
pawn Код:
TogglePlayerSpectating(playerid, 1)
on PlayerConnect AFTER the Login/Register Dialog otherwise the dialog will not show. After he logged in (I had OnPlayerLogin) put
pawn Код:
TogglePlayerSpectating(playerid, 0)
and right after that
pawn Код:
SpawnPlayer(playerid)