save addplayerclass
#1

Hi, i have a question, when I select a skin from requestclass and spawn, I would like to know
when I disconnect and reconnect, make the skin save, when i reconnect whit a registered account, when entering OnPlayerRequestClass only appears your saved skin, not all skins.

Sorry for bad english
Reply
#2

You want multiple skins in class selection screen when you register but only one skin when you login?

If yes, you could save the skin using SQL or INI and then when you enter class selection you could do something like this:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    // "Variable" will the variable in which you save skin
    SetPlayerSkin(playerid, Variable);
    return 1;
}
Reply
#3

Quote:
Originally Posted by Gammix
Посмотреть сообщение
You want multiple skins in class selection screen when you register but only one skin when you login?

If yes, you could save the skin using SQL or INI and then when you enter class selection you could do something like this:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    // "Variable" will the variable in which you save skin
    SetPlayerSkin(playerid, Variable);
    return 1;
}
thanks mate, +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)