05.12.2009, 15:51
Код:
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)-----------------------------------------*/ //... }
but i tried restart the server and client
it didnt hided....................??