OnPlayerSpawn not being called with SpawnPlayer
#8

When ever I had this problem, it was because I wasn't setting the players spawn info. That needs to be set before OnPlayerSpawn can be used. You can then re-position the player to where he needs to be spawned according to his saved variables.

So if you haven't, add this under OnPlayerConnect AND class selection:
pawn Код:
SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
Other wise idk, sorry.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)