Player position problem
#1

Hello, my probleme is whene a player need spawn, he spawns in another place , but i've edited the place... but doesn't working Please HELP.
Code of my Players position:
Код:
public OnGameModeExit()
{
	//-----------------------ZOMBIES----------------------------------
    AddPlayerClass(230,101.4661,1909.9695,18.3610,277.1736,0,0,0,0,0,0); //
	AddPlayerClass(33,101.4661,1909.9695,18.3610,277.1736,0,0,0,0,0,0); //
	//--------------------------------------------------------------//
	////Human Skin://///////////---291+43+299-------------------------------
	AddPlayerClass(291,249.8150,1887.1572,20.6406,61.2849,0,0,0,0,0,0); //
	AddPlayerClass(43,249.8150,1887.1572,20.6406,61.2849,0,0,0,0,0,0); //
	AddPlayerClass(299,249.8150,1887.1572,20.6406,61.2849,0,0,0,0,0,0); //
	 //-----------S.T.A.R.S Skin:/--------285+287------------------//
	 AddPlayerClass(285,249.8150,1887.1572,20.6406,61.2849,0,0,0,0,0,0); //
	 AddPlayerClass(287,249.8150,1887.1572,20.6406,61.2849,0,0,0,0,0,0); //
	 //-------------U.C Skin:---294+295------------------------//
	 AddPlayerClass(294,21.9061,-242.7543,2.4126,2.3485,0,0,0,0,0,0);
     AddPlayerClass(295,21.9061,-242.7543,2.4126,2.3485,0,0,0,0,0,0);

	 //----------Tyrant Skin:------217--------------//
	 AddPlayerClass(217,101.4661,1909.9695,18.3610,277.1736,0,0,0,0,0,0); //
	return 1;
}
and the code of my public OnPlayerRequestClass(playerid, classid):
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 258.4893,-41.4008,1002.0234);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}
Reply


Messages In This Thread
Player position problem - by ServerScripter - 12.07.2011, 10:01
Re: Player position problem - by Wesley221 - 12.07.2011, 10:04
Re : Re: Player position problem - by ServerScripter - 12.07.2011, 10:11
Re: Player position problem - by swieberdevos - 12.07.2011, 10:13
Re : Player position problem - by ServerScripter - 12.07.2011, 10:21
Re: Player position problem - by Jochemd - 12.07.2011, 10:24
Re: Player position problem - by Gazmull - 12.07.2011, 10:27
Re : Player position problem - by ServerScripter - 12.07.2011, 10:30
Re : Player position problem - by ServerScripter - 12.07.2011, 10:34
Re: Player position problem - by Gazmull - 12.07.2011, 10:43

Forum Jump:


Users browsing this thread: 2 Guest(s)