[Help] Skipping spawn completely
#1

So before I continue with my issue, I would like mention that I did indeed search around the forums for this kind of topic about skipping class selection but so far none match what I'm looking for. Read on to see the issue:

So basically I started working on a gamemode, and frankly I finished the more difficult parts and I'm stuck at the most easiest one. So in my gamemode, I did use the spectating trick to skip the class selection so the player logs in. I use various textdraws to manage the spawn process and it works until someone dies. When they die, they get the << >> Spawn buttons. How do I skip this process completely?

It may be due to the fact that I spawn players using SetPlayerPos and don't use SetSpawnInfo or SpawnPlayer anywhere? I would be glad if someone explained a way to accomplish what I'm trying to. Thanks in advance.
Reply
#2

I once faced the same problem as you are and I used the Disable Class Selection include by Emmet_
Link to said include.
Reply
#3

I did it like this
PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
TogglePlayerSpectating(playerid,0); SpawnPlayer(playerid);
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)