Little Spawn help!
#1

Hi,

Here we go again, Is there any possibility to avoid class selection(SKIN) after player login in! I know about SpawnPlayer(playerid) and blabla but where should i set it and I'm using skin saving, so whoever has own skin saved he should be spawned after login without any skin selection! +REP

I use something like this inside OnPlayerConnect

Код:
if(PlayerInfo[playerid][Skin] != -1)
     {
     	SpawnPlayer(playerid);
    	SetPlayerSkin(playerid, PlayerInfo[playerid][Skin]);
     }
OnPlayerSpawn

Код:
SetPlayerSkin( playerid, PlayerInfo[playerid][Skin] );
So, How should i create to avoid skin (class selection) to peoples who saved his skin! Thanks REP
Reply


Messages In This Thread
Little Spawn help! - by Hunud - 03.05.2017, 16:02
Re: Little Spawn help! - by Hunud - 03.05.2017, 16:13
Re: Little Spawn help! - by aoky - 03.05.2017, 16:39
Re: Little Spawn help! - by Hunud - 03.05.2017, 16:41
Re: Little Spawn help! - by moura98 - 03.05.2017, 16:50
Re: Little Spawn help! - by Hunud - 03.05.2017, 16:53
Re: Little Spawn help! - by DarkSkull - 03.05.2017, 16:58
Re: Little Spawn help! - by Hunud - 03.05.2017, 17:03
Re: Little Spawn help! - by DarkSkull - 03.05.2017, 17:06
Re: Little Spawn help! - by Hunud - 03.05.2017, 17:10

Forum Jump:


Users browsing this thread: 1 Guest(s)