Two questions
#1

I'm wanting to completely skip skin selection, this is my current code:
Код:
public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid);
    return 1;
}
This works..sort of, I still have to click the Spawn button to actually spawn my player. I also still see the < > Spawn and the bottom of the screen, the buttons. How can I skip this?
Reply
#2

TogglePlayerClock(playerid, false);
Reply
#3

Thanks, any ideas for the second question?
Reply
#4

Not sure if this works I just found it. try this:

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    return 0;
}
Reply
#5

I've tried that, All it does is make the buttons still appear, but when I click them nothing happens.
Reply
#6

try add SpawnPlayer(playerid); under OnPlayerConnect
Reply
#7

I've added that to:
OnPlayerConnect
My login/registration systems

Any other ideas? I know it's possible, because I've seen way to many RP scripts with it.
Reply
#8

Well I do not know how to. But I suggest you change the name of your topic to "How to spawn without class selection" or something like that so you will get more replies.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)