03.05.2017, 16:02
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
OnPlayerSpawn
So, How should i create to avoid skin (class selection) to peoples who saved his skin! Thanks REP
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]); }
Код:
SetPlayerSkin( playerid, PlayerInfo[playerid][Skin] );