How to set the spawn of the world?
#1

First Sorry for bad english! :S
And sorry if it's in the wrong forum thing

I used MTA Map editor to make a Freeroam server. I used a MTA to SAMP converter: http://convertffs.com/
Works perfectly!
But if I join. I spawn on a platform with escalators.
But I want to spawn in Los Santos Airport.
Help me! Thanks
Reply
#2

Use SetPlayerPos thing with a command .
Reply
#3

add to public OnPlayerSpawn:

SetPlayerPos(playerid, coordinates Airport LS);
Reply
#4

Help me! Tutorial on *******?
Reply
#5

Quiten, it's easy.
  • Go In-Game where you mapped the airport,
  • Go to the area where you'd like your play spawn at,
  • Type /save there,
  • Go to My Documents/GTA San Andreas Userfiles/SAMP/Saved positions.txt
  • Click on it and it will show you coordinates like this: AddPlayerClass etc etc,
  • Take the first X Y and Z and place them under your OnPlayerSpawn Like this:
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, X,Y,Z);
return 1;
}
Reply
#6

Or change the X Y Z fields of your AddPlayerClass - simple as that.
Reply
#7

Quote:
Originally Posted by BenJackster
Посмотреть сообщение
Quiten, it's easy.
  • Go In-Game where you mapped the airport,
  • Go to the area where you'd like your play spawn at,
  • Type /save there,
  • Go to My Documents/GTA San Andreas Userfiles/SAMP/Saved positions.txt
  • Click on it and it will show you coordinates like this: AddPlayerClass etc etc,
  • Take the first X Y and Z and place them under your OnPlayerSpawn Like this:
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, X,Y,Z);
return 1;
}
Thanks! It worked! Thank you so much!!!! LOVE YOU!!! (no homo)
Reply
#8

No problem.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)