The Best method to hide the "Spawn" button[0.3][and question]
#1

Код:
public OnPlayerConnect(playerid)
{
/*-----------------------------------------------------------------------------------*/
---------put on the top of the OnPlayerConnect ----------------
/*-----------------------------------------------------------------------------------*/
    TogglePlayerControllable(playerid,0);//without it the player can be move when Camera Looking.
	TogglePlayerSpectating(playerid, 1);//start the spectating to hide the Spawn button
	TogglePlayerSpectating(playerid, 0);//end the spectating but the Spawn button doesnt appear.
	SetPlayerCameraPos(playerid,~~~,~~~,~~~);//put your camera position
	SetPlayerCameraLookAt(playerid,~~~,~~~,~~~);//put your camera position
/*-------------------------------by me (SAMP-ID:HaTE)-----------------------------------------*/
//...
}
it test when I "gmx" the server,it hided
but i tried restart the server and client
it didnt hided....................??
Reply


Messages In This Thread
The Best method to hide the "Spawn" button[0.3][and question] - by oicq747285250 - 05.12.2009, 15:51
Re: The Best method to hide the "Spawn" button[0.3] - by (Jeff) - 05.12.2009, 15:53
Re: The Best method to hide the "Spawn" button[0.3] - by RyDeR` - 05.12.2009, 15:53
Re: The Best method to hide the "Spawn" button[0.3] - by oicq747285250 - 05.12.2009, 15:54

Forum Jump:


Users browsing this thread: 4 Guest(s)