Player not spawning after login.
#1

The player doesn't spawn. I scripted a lot of gamemode but this is the first time that it happens.
After the dialog login I put a SpawnPlayer(playerid) but the player doesn't spawn.
After onplayerclassselection there is SpawnPlayer(playerid); and also after onplayerrequestspawn.

Thanks for the help.
Reply
#2

Try SetPlayerSpawnInfo too.
Reply
#3

Quote:
Originally Posted by arjanforgames
Посмотреть сообщение
Try SetPlayerSpawnInfo too.
What? Well..
I didn't explain it good.
The player spawn but the "spawn bar" appears. That one with the button "Spawn" and the <- and ->.
If I press Spawn the player spawn but I don't want the "spawn bar" to appear.
Reply
#4

Try setting "SpawnPlayer(playerid);" on a timer of 500ms or something and try it from there.

If that doesn't work, post some code examples.
Reply
#5

Have you enabled "TogglePlayerSpectating" then disable it or else you won't spawn!!
Try TogglePlayerSpectating(playerid,false); when you want the player to spawn.
Reply
#6

Nothing of this works.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)