21.11.2011, 20:28
pawn Код:
public TutorialStateEight(playerid)
{
ClearScreen(playerid);
SendClientMessage(playerid, COLOR_YELLOW, "______________________________________|- Fim -|___________________________________________");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " - ");
SendClientMessage(playerid, COLOR_WHITE, " - Fim do tutorial");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " Esperamos que voce se divirta ;) ");
SendClientMessage(playerid, COLOR_YELLOW, "__________________________________________________________________________________________");
TextDrawHideForPlayer(playerid, topblack);
TextDrawHideForPlayer(playerid, bottomblack);
TogglePlayerControllable(playerid, true);
if(PlayerInfo[playerid][pTut] == 1) return SpawnPlayer(playerid),1;
PlayerInfo[playerid][pTut] = 1;
if(PlayerInfo[playerid][pHvida] == 1)
{
if(PlayerInfo[playerid][pSex] == 1)
{
SetPlayerSkin(playerid, 188);
PlayerInfo[playerid][pSkin] = 188;
}
if(PlayerInfo[playerid][pSex] == 2)
{
SetPlayerSkin(playerid, 13);
PlayerInfo[playerid][pSkin] = 13;
}
PlayerInfo[playerid][pMissaoNewbie] = 1;
PlayerInfo[playerid][pBuLic] = 1;
SpawnPlayer(playerid);
}
else if(PlayerInfo[playerid][pHvida] == 2)
{
if(PlayerInfo[playerid][pSex] == 1)
{
SetPlayerSkin(playerid, 133);
PlayerInfo[playerid][pSkin] = 133;
}
if(PlayerInfo[playerid][pSex] == 2)
{
SetPlayerSkin(playerid, 225);
PlayerInfo[playerid][pSkin] = 225;
}
PlayerInfo[playerid][pMissaoNewbie] = 2;
PlayerInfo[playerid][pBuLic] = 0;
SpawnPlayer(playerid);
SetPlayerHealth(playerid, 30);
ApplyAnimation(playerid, "WUZI", "CS_Dead_Guy", 4.0, 0, 0, 0, 0, 0);
}
else if(PlayerInfo[playerid][pHvida] == 3)
{
if(PlayerInfo[playerid][pSex] == 1)
{
SetPlayerSkin(playerid, 188);
PlayerInfo[playerid][pSkin] = 188;
}
if(PlayerInfo[playerid][pSex] == 2)
{
SetPlayerSkin(playerid, 226);
PlayerInfo[playerid][pSkin] = 226;
}
PlayerInfo[playerid][pMissaoNewbie] = 3;
PlayerInfo[playerid][pBiLic] = 1;
PlayerInfo[playerid][pBuLic] = 1;
SpawnPlayer(playerid);
}
}