23.11.2010, 01:49
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. ^^
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. ^^