Hide class Selection when connect - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hide class Selection when connect (
/showthread.php?tid=639922)
Hide class Selection when connect -
Hiei - 25.08.2017
Hi all in my server when player connect will display the class selection
i want to hide it and connect
how to do it
(sorry my keybroad error)
Re: Hide class Selection when connect -
thegamer355 - 25.08.2017
codes maybe?
Re: Hide class Selection when connect -
JesterlJoker - 25.08.2017
PHP код:
SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:rotation, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
SpawnPlayer(playerid);
Use this on player connect but I recommend use a timer and give it a one second delay before using the code..
PHP код:
SetPlayerPos(playerid, Float:X, Float:Y, Float:Z); //To place the player into the game or if you wish to have some login style type thing
//use this below if you wish to follow the log-in thing
SetPlayerCameraPos(playerid, Float:x, Float:y, Float:z) // place the camera somewhere else to hide the players location
TogglePlayerControllable(playerid, false); //To keep them from moving...
//Then you know the next part of this the login and registration system.
Re: Hide class Selection when connect -
Hiei - 25.08.2017
Quote:
Originally Posted by thegamer355
codes maybe?
|
No code, it is new.pwn
Re: Hide class Selection when connect -
Hiei - 25.08.2017
Quote:
Originally Posted by JesterlJoker
PHP код:
SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:rotation, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
SpawnPlayer(playerid);
Use this on player connect but I recommend use a timer and give it a one second delay before using the code..
PHP код:
SetPlayerPos(playerid, Float:X, Float:Y, Float:Z); //To place the player into the game or if you wish to have some login style type thing
//use this below if you wish to follow the log-in thing
SetPlayerCameraPos(playerid, Float:x, Float:y, Float:z) // place the camera somewhere else to hide the players location
TogglePlayerControllable(playerid, false); //To keep them from moving...
//Then you know the next part of this the login and registration system.
|
Now testing......................
Re: Hide class Selection when connect -
Hiei - 25.08.2017
Quote:
Originally Posted by JesterlJoker
PHP код:
SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:rotation, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
SpawnPlayer(playerid);
Use this on player connect but I recommend use a timer and give it a one second delay before using the code..
PHP код:
SetPlayerPos(playerid, Float:X, Float:Y, Float:Z); //To place the player into the game or if you wish to have some login style type thing
//use this below if you wish to follow the log-in thing
SetPlayerCameraPos(playerid, Float:x, Float:y, Float:z) // place the camera somewhere else to hide the players location
TogglePlayerControllable(playerid, false); //To keep them from moving...
//Then you know the next part of this the login and registration system.
|
Error :