How to remove spawn button?
#10

Quote:
Originally Posted by Snipa
Посмотреть сообщение
Under OnPlayerConnect, use TogglePlayerSpectating. Then use SetSpawnInfo to allow automatic spawning under OnPlayerRequestClass. When you want them to spawn, simply set their spectating to false.

https://sampwiki.blast.hk/wiki/SetSpawnInfo
Thank you, but I'm using this:
PHP код:
 if(PlayerInfo[playerid][NewReg] == 0// Checking if the player is a new registrator. 
    

        
//SetPlayerSkin(playerid, PlayerInfo[playerid][Skin]); // Sets the player skin. 
        
SetPlayerPos(playeridPlayerInfo[playerid][Xpos], PlayerInfo[playerid][Ypos], PlayerInfo[playerid][Zpos]+0.3); 
        
    } 
Reply


Messages In This Thread
How to remove spawn button? - by SHoCK44 - 02.08.2014, 19:20
Re: How to remove spawn button? - by GeekSiMo - 02.08.2014, 19:26
Re: How to remove spawn button? - by [XST]O_x - 02.08.2014, 19:28
Re: How to remove spawn button? - by SHoCK44 - 02.08.2014, 19:29
Re: How to remove spawn button? - by GeekSiMo - 02.08.2014, 19:32
Re: How to remove spawn button? - by McBan - 02.08.2014, 19:33
Re: How to remove spawn button? - by SHoCK44 - 02.08.2014, 19:37
Re: How to remove spawn button? - by SHoCK44 - 02.08.2014, 19:39
Re: How to remove spawn button? - by Snipa - 02.08.2014, 19:57
Re: How to remove spawn button? - by SHoCK44 - 02.08.2014, 20:26

Forum Jump:


Users browsing this thread: 3 Guest(s)