PlayerSpawn When joining..
#1

Hi im doing my Server which is set in BaySide, and i trying to change the Spawn Pos... But i don't know how.. this is what i think it is.
Код:
stock firstPlayerSpawn(playerid) {
	playerVariables[playerid][pTutorial] = 0;
	playerVariables[playerid][pFirstLogin] = 0;

	playerVariables[playerid][pPos][0] = -2467.5938;
	playerVariables[playerid][pPos][1] = 2229.4067;
	playerVariables[playerid][pPos][2] = 4.8438;

	playerVariables[playerid][pInterior] = 0;
	playerVariables[playerid][pVirtualWorld] = 0;

	SetSpawnInfo(playerid, 0, playerVariables[playerid][pSkin], playerVariables[playerid][pPos][0], playerVariables[playerid][pPos][1], playerVariables[playerid][pPos][2], 0, 0, 0, 0, 0, 0, 0);
	SpawnPlayer(playerid);

	TextDrawHideForPlayer(playerid, textdrawVariables[3]);
At PlayerVariables[playerid][pPos] is where i changed the OnFoot Position, is anything wrong with this?
Or if it is incorrect completely please tell me what to do..]
thanks
Reply


Messages In This Thread
PlayerSpawn When joining.. - by HarrySidwell - 01.12.2011, 15:35
Re: PlayerSpawn When joining.. - by park4bmx - 01.12.2011, 15:37
Re: PlayerSpawn When joining.. - by HarrySidwell - 01.12.2011, 15:39
Re: PlayerSpawn When joining.. - by English-Conceptz - 01.12.2011, 15:41
Re: PlayerSpawn When joining.. - by HarrySidwell - 01.12.2011, 16:10
Re: PlayerSpawn When joining.. - by park4bmx - 01.12.2011, 16:13
Re: PlayerSpawn When joining.. - by HarrySidwell - 01.12.2011, 16:19
Re: PlayerSpawn When joining.. - by park4bmx - 01.12.2011, 16:30
Re: PlayerSpawn When joining.. - by HarrySidwell - 01.12.2011, 16:36
Re: PlayerSpawn When joining.. - by park4bmx - 01.12.2011, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)