Help with character spawn
#5

Keep your primary coordinates on the AddPlayerClass, and do the following:

Under 'public OnPlayerSpawn' add the following:

SetPlayerInterior(playerid, ChangeThisToYourInteriorID);

Example:

Код:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, 346.870025,309.259033,1000.0);
SetPlayerInterior(playerid, 6);
return 1;
}
That would make the user spawn in a jail cell.
Reply


Messages In This Thread
Help with character spawn - by stud4125 - 25.07.2009, 20:37
Re: Help with character spawn - by StrickenKid - 25.07.2009, 20:48
Re: Help with character spawn - by stud4125 - 25.07.2009, 20:49
Re: Help with character spawn - by stud4125 - 25.07.2009, 21:30
Re: Help with character spawn - by (.Aztec); - 25.07.2009, 21:55

Forum Jump:


Users browsing this thread: 1 Guest(s)