What are the possible ways to remove 'Spawn Menu' or 'Class Selection'?
#1

Hey ahh as the subject states, I am just looking for a way I can get rid of the horrid spawn options at the bottom of the screen on login.
[Just stole this image off ******, however it is what I want removed.]


Has been annoying me for a while and I have searched for some ideas but didn't really find anything that worked for me, but whether that was my error or just the way suggested was out of date Ect..

Thanks in advance for any assistance greatly appreciated.
Reply
#2

Actully this is an selection menu and unfortunatly you cant remove this but you can change the selection place ...
Reply
#3

Can I change the selection place to... Never...? Possibly, OnPlayerDisconnect? :P
Reply
#4

of course you change it .

1 ): choose any place you want to
2 ): Type there /save
3 ) open MY DOCUMENT/GTASANANDLREASUSEFILE/POSITION * copy that" and remove the last 0000
4) then goto your script and find
pawn Код:
public OnPlayerConect
and change the cordinates number :
Reply
#5

I heard TogglePlayerSpectating in OnPlayerRequestClass should skip this, though its not working for me for some reason.
Reply
#6

You mean the background of skin selection?
Then you must modify under OnPlayerRequestClass.
Reply
#7

pawn Код:
public OnPlayerConnected(playerid) {
TogglePlayerSpectating(playerid, true);
return 1;
}
But remember to set it to false before spawning the player.
Reply
#8

Quote:
Originally Posted by мυ∂υℓ_вacнα
Посмотреть сообщение
of course you change it .

1 ): choose any place you want to
2 ): Type there /save
3 ) open MY DOCUMENT/GTASANANDLREASUSEFILE/POSITION * copy that" and remove the last 0000
4) then goto your script and find
pawn Код:
public OnPlayerConect
and change the cordinates number :
Nah Mate, you're talking about changing the position of the character selection menu, I want to remove that whole Character spawn menu '<< >> Spawn' Textdraw down the bottom on the image.
EXAMPLE: After you login/register from my dialogs I have created then then spawns the player instead of showing this character select crap.

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
I heard TogglePlayerSpectating in OnPlayerRequestClass should skip this, though its not working for me for some reason.
Yea me neither, this is what i have and it doesn't seem to work.
pawn Код:
TogglePlayerSpectating(playerid, true);
            ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX, "{ff0000}Registration process", "{ffffff}This account is not registered!", "Proceed", "Disconnect");
            TogglePlayerSpectating(playerid, false);
Quote:
Originally Posted by [xB]Lordz
Посмотреть сообщение
You mean the background of skin selection?
Then you must modify under OnPlayerRequestClass.
Nah mate, 'мυ∂υℓ_вacнα' confused the whole deal. I just want the buttons at the bottom of the images I linked removed.

Quote:
Originally Posted by Universal
Посмотреть сообщение
pawn Код:
public OnPlayerConnected(playerid) {
TogglePlayerSpectating(playerid, true);
return 1;
}
But remember to set it to false before spawning the player.
Yea this didn't seem to work for me... :/

pawn Код:
TogglePlayerSpectating(playerid, true);
            ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX, "{ff0000}Registration process", "{ffffff}This account is not registered!", "Proceed", "Disconnect");
            TogglePlayerSpectating(playerid, false);
Reply
#9

Maybe put TogglePlayerSpectating(playerid, false); at end of reg/login process in OnDialogResponse instead of right after dialog?
Reply
#10

TogglePlayerSpectating(playerid, true) at OnPlayerRequestClass

TogglePlayerSpectating(playerid, false) at OnPlayerSpawn

If you untoggle it immediatly after showing the dialog, it'll just show again.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)