How to call "Class Selection screen" ?
#1

I need help...
Currently I am using a timer on player connect to show login screen.
As I am using a timer now for login dialog after completing it I don't see real class selecting screen on screen ! I mean I see only buttons but no skins I have to first click on left/right button to see skins.


Is there any function which calls the class selection screen.so I can see my skins directly when it shows without clicking on Left/Right
Reply
#2

pawn Код:
//When a player logs in successfully:
OnPlayerRequestClass(playerid, 0);
Put that line in the same place where the player logs in successfully. This will call the callback 'OnPlayerRequestClass' with the parameters 'playerid' and '0'.

OnPlayerRequestClass has two parameters, "playerid" and "classid". You simply substitute 'playerid' for itself, and '0' for classid. (Classes begin at 0, so by substituting '0', you are going straight to the first skin)
Reply
#3

I will try it thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)