Auto Spawn.
#1

I've been tinkering with this for a few hours.
I want it to be so when you log in, you automatically spawn as id 29, in and at coords
-2868.3137,471.6636,4.8773,92.8720 with no weapons, either.

I know I have to use "SetSpawn(playerid)" because that's what SA:MP wiki said to do.
I've tried putting it in:

OnGameModeInit() - Didn't work because there's no "playerid" thing in there.
OnPlayerConnect - For some reason kept taking me to the character selection.
OnPlayerRequestClass - Didn't work as well.

I also tried using SetSpawnInfo (or whatever it is, I don't quite remember), in those, and it didn't work.

It HAS to be something simple, I can't imagine it being overly complicated.



Thannkk you. ^^
Reply


Messages In This Thread
Auto Spawn. - by BJaxx - 23.11.2010, 01:49
Re: Auto Spawn. - by [L3th4l] - 23.11.2010, 01:50
Re: Auto Spawn. - by BJaxx - 23.11.2010, 02:12
Re: Auto Spawn. - by Kitten - 23.11.2010, 02:17
Re: Auto Spawn. - by BJaxx - 23.11.2010, 02:22
Re: Auto Spawn. - by Kitten - 23.11.2010, 02:24
Re: Auto Spawn. - by BJaxx - 23.11.2010, 02:29
Re: Auto Spawn. - by Kitten - 23.11.2010, 02:31
Re: Auto Spawn. - by BJaxx - 23.11.2010, 02:32

Forum Jump:


Users browsing this thread: 1 Guest(s)