30.03.2018, 06:06
You can use Switch case
Set these according to your OnGamemodeInit Skins.
Код:
TogglePlayerSpectating(playerid, false); SetPlayerPos(playerid, 4602.7427, 190.8927, 9.3325); Player_StreamPrep(playerid, 4602.7427, 190.8927, 9.3325, FREEZE_TIME); SetPlayerFacingAngle(playerid, 22.1796); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetHealth(playerid, 100); PlayerInfo[playerid][pConnectHours] = 30; ClearChatbox(playerid); switch (classid) { case 0: { //skin 270 with Dance Animation ApplyAnimation(playerid, "DANCING", "DNCE_M_A", 4.1, 1, 1, 1, 1, 1); } return 1; }