Skip Selection Buttons
#1

Is there a way i could avoid class selection buttons? I want to avoid class selection for registered members since they automatically spawn with their saved skin. However, everytime i login i see class selection for some seconds(around 2-3) until i get automatically spawned. How can i avoid class selection buttons? ( < > Spawn)
Reply
#2

SetSpawnInfo
SpawnPlayer

Put these to OnPlayerRequestClass under a variable that detects if the player is a registered member.

Add a variable again to OnPlayerSpawn to check if the player is a registered member and set their skin to their saved skin.
Reply
#3

Quote:
Originally Posted by Rufio
Посмотреть сообщение
SetSpawnInfo
SpawnPlayer

Put these to OnPlayerRequestClass under a variable that detects if the player is a registered member.

Add a variable again to OnPlayerSpawn to check if the player is a registered member and set their skin to their saved skin.
Already tried that didnt work...
Reply
#4

Using SetTimerEx, inside the timer's callback, use SpawnPlayer. I guess an interval of 250 should be good for the timer. Or you can also use this as the interval: (GetPlayerPing(playerid) + 150).
Reply
#5

I don't really think there is any other option. Mind sharing the code you tried so I can try to help you out?
Reply
#6

try this https://sampforum.blast.hk/showthread.php?tid=574072
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)