// Codigo relacionado com o tutorial
new TutTime[MAX_PLAYERS];
//======== BORDA TUTORIAL =======
new Text:cima;
new Text:cima2;
new Text:baixo;
enum pInfo
{
...
pTut,
...
};
TutTime[playerid] = 0;
...
PlayerInfo[playerid][pTut] = 0;
if(TutTime[i] >= 1)
{
TutTime[i] += 1;
if(TutTime[i] == 5)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
SetPlayerInterior(i, 0);
SetPlayerPos(i, 1558.7385,-1675.7007,16.1953);
SetPlayerCameraPos(i, 1506.7966,-1645.9325,22.3203);
SetPlayerCameraLookAt(i, 1537.1453,-1670.2620,12.6740);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Departamento Da Policia Militar", 3000, 3);
ClearChatbox(i, 100);
SendClientMessage(i, 0xC1FF08AA, ".:: Bem Vindo ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, "O Luxurion RPG foi feito especialmente para vocк!");
SendClientMessage(i, 0x90B6FFAA, "Tudo que foi feito aqui atй hoje, tem a finalidade de que vocкs possam ter uma уtima jogabilidade.");
SendClientMessage(i, 0x90B6FFAA, "Aqui vocк vai ter uma segunda vida, com amigos, esposas, trбfico, roubo, sequestros, etc...");
SendClientMessage(i, 0x90B6FFAA, "A equipe [LR] estб disposta a ajudar a todos, vamos fazer o possнvel para agradar vocкs.");
}
else if(TutTime[i] == 22)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Prefeitura", 3000, 3);
SetPlayerPos(i, 1483.8164,-1727.4125,13.3828);
SetPlayerCameraPos(i,1483.8164,-1727.4125,13.3828);
SetPlayerCameraLookAt(i,1481.0267,-1772.1371,19.4570);
SendClientMessage(i, 0xC1FF08AA, ".:: Informaзхes Bбsicas ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, "RPG й um modo de jogo baseado na vida real, portanto vocк nгo poderб sair matando todo mundo.");
SendClientMessage(i, 0x90B6FFAA, "Nгo poderб tambйm sair zuando de todos, seja como vocк й na vida real.");
SendClientMessage(i, 0x90B6FFAA, "Leve o [LR] a sйrio e jogue como se fosse sua segunda vida!");
}
else if(TutTime[i] == 35)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
SetPlayerPos(i, 2249.4246,-1650.3999,15.4776);
SetPlayerCameraPos(i, 2264.1365,-1653.5085,19.6254);
SetPlayerCameraLookAt(i, 2243.7371,-1668.1760,15.4766);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Binco", 3000, 3);
SendClientMessage(i, 0xC1FF08AA, ".:: Regras Bбsicas ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, "Sempre respeite um ADM, ele estб fazendo de tudo de bom pra vocк.");
SendClientMessage(i, 0x90B6FFAA, "Nгo abuse da boa vontade de nossos ADMS. Nгo cause terrorismo, DM, DB, nгo chingue, nгo abuse de BUG.");
SendClientMessage(i, 0x90B6FFAA, "Por Favor nгo peзa ADM, e tambйm nгo peзa para que eles aumentem seus cargos.");
SendClientMessage(i, 0x90B6FFAA, "E o principal, nunca use Cheater para se beneficiar, em caso de uso de Cheater serб banido para sempre.");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 50)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Banco", 3000, 3);
SetPlayerCameraPos(i, 1463.9277,-1043.5249,31.3181);
SetPlayerCameraLookAt(i, 1461.7306,-1014.2181,26.6566);
SetPlayerPos(i, 1424.6486,-1020.7975,23.8281);
SendClientMessage(i, 0xC1FF08AA, ".:: Comando Ъteis ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, " /relatorio - Falar com os ADMS, /gps - Veja onde ficar os lugares importantes.");
SendClientMessage(i, 0x90B6FFAA, "/rg - Ver seus status, /ajuda - Tudo sobre o servidor.");
SendClientMessage(i, 0x90B6FFAA, "/creditos - Ver os creditos do servidor, /forum - Veja o forum do Luxurion RPG.");
SendClientMessage(i, 0x90B6FFAA, "Durante seu jogo, no /ajuda tem vбrios outros comandos que podem te ajudar.");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 63)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~D.E.T.R.A.N", 3000, 3);
//SetPlayerPos(i, 2144.1062,-970.9034,80.0703);
//SetPlayerCameraPos(i,2212.5364,-989.5125,83.3038);
//SetPlayerCameraLookAt(i,2151.6057,-1014.4344,67.1739);
SetPlayerCameraPos(i,962.4185,-960.7972,48.3208);
SetPlayerPos(i,962.4185,-960.7972,48.3208);
SetPlayerCameraLookAt(i,952.5886,-909.2940,45.7656);
SendClientMessage(i, 0xC1FF08AA, ".:: Contas VIP ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, " Temos Contas VIP a partir de R$ 8,00.");
SendClientMessage(i, 0x90B6FFAA, "A conta VIP custa R$ 10,00 e a conta VIP Premium custa R$ 20,00.");
SendClientMessage(i, 0x90B6FFAA, "Se tornando VIP vocк terб mais benefнcios que players normais.");
SendClientMessage(i, 0x90B6FFAA, "Para ser VIP visite nosso /forum e veja ~> Contas VIP's & Socios.");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 79)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Morro", 3000, 3);
SetPlayerPos(i, 2144.1062,-970.9034,80.0703);
SetPlayerCameraPos(i,2212.5364,-989.5125,83.3038);
SetPlayerCameraLookAt(i,2151.6057,-1014.4344,67.1739);
SendClientMessage(i, 0xC1FF08AA, ".:: Forum ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, "O nosso forum й parte integrada do servidor, ele й essencial para que vocк participe de todas as notнcias do Luxurio RPG.");
SendClientMessage(i, 0x90B6FFAA, "No forum sгo feitas denъncias, reclamaзхes, dъvidas, enfim, ele й muito ъtil para todos.");
SendClientMessage(i, 0x90B6FFAA, "Vocк deve registrar-se no forum para poder postar comentбrios ou criar tуpicos.");
SendClientMessage(i, 0x90B6FFAA, "O endereзo do nosso forum й ----- http://luxurionrpg.forumeiros.com/ ----- /forum");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 86)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~w~Bem Vindo ~r~] Luxurion RPG ~r~]", 3000, 3);
SendClientMessage(i, COLOR_YELLOW2, " ");
SetPlayerCameraPos(i,1519.4929,-1675.6611,21.0900);
SetPlayerPos(i,1547.1060,-1693.2738,13.9214);
SetPlayerCameraLookAt(i,1557.2080,-1675.8904,16.1953);
SendClientMessage(i, 0x90B6FFAA, "Seja bem vindo ao nosso Luxurion RPG - v2.0");
SendClientMessage(i, 0x90B6FFAA, "Sua presenзa aqui й muito importante para nуs!");
SendClientMessage(i, 0x90B6FFAA, "Vocкs sгo a razгo de vida do [LR].");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 92)
{
new para1;
TextDrawHideForPlayer(i,cima2);
TextDrawHideForPlayer(i,cima);
TextDrawHideForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 1);
ClearChatbox(i, 100);
TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
gNews[i] = 0; gFam[i] = 0;
TogglePlayerControllable(i, 1);
SetPlayerVirtualWorld(i,0);
MedicBill[i] = 0;
SetPlayerSpawn(i);
SetCameraBehindPlayer(i);
PlayerInfo[i][pConta] = 1000;
PlayerInfo[i][pCreditos] += 20;
PlayerPlayMusic(i);
RegistrationStep[i] = 4;
PlayerInfo[para1][pVIP] = 2;
ResetPlayerMoneyEx(i);
GivePlayerMoneyEx(i, 3000000);
GameTextForPlayer(i, "~w~Bem Vindo Ao Luxurion RPG Chame um Admin Ou Helper Para Te Ajudar ~b~~n~ /relatorio /duvida ", 3000, 3);
SendClientMessage(i, COLOR_WHITE, "Bem Vindo ao Luxurion RPG v2.0 ® ");
SendClientMessage(i, 0x90B6FFAA, "Digite /equipe para ver a equipe do [LR].");
SendClientMessage(i, 0xC1FF08AA, "Equipe [LR] Agradece a sua preferкncia !");
SendClientMessage(i, 0xC1FF08AA, "==============================================");
SendClientMessage(i, COLOR_WHITE, "Vб ao D.E.T.R.A.N, e tire sua carteira de motorista !");
SetPlayerCheckpoint(i, 961.7795,-944.9980,40.3419,8.0);//detran
SendClientMessage(i, 0xC1FF08AA, "==============================================");
}
}
...
// Codigo Completo .
enum pInfo
{
pKey[128],
pLevel,
pAdmin,
pHelper,
pVIP,
gPupgrade,
pConnectTime,
pReg,
pSex,
pAge,
pMuted,
pSequestrado,
pExp,
pCash,
pConta,
pCrimes,
pKills,
pDeaths,
pPhoneBook,
pLottoNr,
pFishes,
pBiggestFish,
pEmprego,
pSalario,
pHeadValue,
pJailed,
pJailTime,
pMats,
pDrogas,
pDrogas2,
pDrogas3,
pLider,
pMembro,
pCargo,
pSkin,
pContractTime,
pDetSkill,
pSexSkill,
pBoxSkill,
pLawSkill,
pMechSkill,
pNewsSkill,
pDrogasSkill,
pCookSkill,
pFishSkill,
Float:pSHealth,
pInt,
pLocal,
pTeam,
pPnumber,
pPHousekey,
pPbiskey,
Float:pPos_x,
Float:pPos_y,
Float:pPos_z,
pCarLic,
pFlyLic,
pBoatLic,
pFishLic,
pGunLic,
pPayDay,
pCDPlayer,
pWins,
pLoses,
pAlcoholPerk,
pDrugPerk,
pMiserPerk,
pPainPerk,
pTraderPerk,
pTut,
pWarns,
pMarried,
pParedao,
pRequestingBackup,
pMask,
pMaskuse,
pBarraca,
pMarriedTo[64],
pSpawn,
pSafeDrogas,
pSafeDrogas2,
pSafeDrogas3,
pVeiculo,
pVeiculo2,
pVeiculo3,
pCarKey,
pCarKey2,
pCarKey3,
psMats,
pPHouseCarkey,
pLuta,
pDorgado,
pDorgado2,
pDoenca,
pCreditos,
pLastLogin[20],
pGun1,
pGun2,
pGun3,
pGun4,
pGun5,
pGun6,
pGun7,
pGun8,
pGun9,
pGun10,
pGun11,
pGun12,
pAmmo1,
pAmmo2,
pAmmo3,
pAmmo4,
pAmmo5,
pAmmo6,
pAmmo7,
pAmmo8,
pAmmo9,
pAmmo10,
pAmmo11,
pAmmo12,
pCheckInfoOrg,
};
public SetPlayerUnjail()
{
if(PaintballPlayers >= 2 && PaintballRornd != 1 && StartingPaintballRornd != 1)
{
StartingPaintballRornd = 1;
SetTimer("PreparePaintball", 30000, 0);
}
if(KartingPlayers >= 2 && KartingRornd != 1 && StartingKartRornd != 1)
{
StartingKartRornd = 1;
SetTimer("PrepareKarting", 15000, 0);
}
if(KartingRornd != 0 && KartingPlayers < 2)
{
StartingKartRornd = 0;
KartingRornd = 0;
EndingKartRornd = 1;
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
//new newcar = GetPlayerVehicleID(i);
new level = PlayerInfo[i][pLevel];
new vip = PlayerInfo[i][pVIP];
if(level >= 0 && level <= 2) { PlayerInfo[i][pSalario] += 3; }
else if(level >= 3 && level <= 4) { PlayerInfo[i][pSalario] += 4; }
else if(level >= 5 && level <= 6) { PlayerInfo[i][pSalario] += 5; }
else if(level >= 7 && level <= 8) { PlayerInfo[i][pSalario] += 6; }
else if(level >= 9 && level <= 10) { PlayerInfo[i][pSalario] += 7; }
else if(level >= 11 && level <= 12) { PlayerInfo[i][pSalario] += 8; }
else if(level >= 13 && level <= 14) { PlayerInfo[i][pSalario] += 9; }
else if(level >= 15 && level <= 16) { PlayerInfo[i][pSalario] += 10; }
else if(level >= 17 && level <= 18) { PlayerInfo[i][pSalario] += 11; }
else if(level >= 19 && level <= 20) { PlayerInfo[i][pSalario] += 12; }
else if(level >= 21) { PlayerInfo[i][pSalario] += 15; }
if(vip == 1) { PlayerInfo[i][pSalario] += 2; }
if(vip == 2) { PlayerInfo[i][pSalario] += 4; }
if(PlayerInfo[i][pJailed] > 0)
{
if(PlayerInfo[i][pJailTime] > 0 && WantAdvogado[i] == 0)
{
PlayerInfo[i][pJailTime]--;
}
if(PlayerInfo[i][pJailTime] <= 0 && WantAdvogado[i] == 0)
{
PlayerInfo[i][pJailTime] = 0;
if(PlayerInfo[i][pJailed] == 1)
{
SetPlayerInterior(i, 6);
SetPlayerPos(i,268.0903,77.6489,1001.0391);
}
else if(PlayerInfo[i][pJailed] == 3)
{
SetPlayerInterior(i, 0);
SetPlayerPos(i,338.3080,-1523.9946,33.2635);
}
else if(PlayerInfo[i][pJailed] == 4)
{
SetPlayerInterior(i, 0);
SetPlayerPos(i,932.7802,-1223.6500,16.9051);
}
else if(PlayerInfo[i][pJailed] == 5)
{
SetPlayerInterior(i, 0);
SetPlayerPos(i,1024.3496,-373.1364,73.3885);
}
else if(PlayerInfo[i][pJailed] == 6)
{
SetPlayerInterior(i, 0);
SetPlayerPos(i,1541.1633,-1674.6908,13.5520);
}
else if(PlayerInfo[i][pJailed] == 7)
{
SetPlayerInterior(i, 0);
SetPlayerPos(i,-1529.3772,486.5050,7.1797);
}
else if(PlayerInfo[i][pJailed] == 8)
{
SetPlayerInterior(i, 0);
SetPlayerPos(i,709.1844,-568.3723,-6.1966);
}
else if(PlayerInfo[i][pJailed] == 2)
{
SetPlayerWorldBounds(i,20000.0000,-20000.0000,20000.0000,-20000.0000); //Reset world to player
SetPlayerInterior(i, 0);
SetPlayerPos(i, 90.2101,1920.4854,17.9422);
}
PlayerInfo[i][pJailed] = 0;
SendClientMessage(i, COLOR_GRAD1,"Vocк pagou sua divida com a sociedade.");
GameTextForPlayer(i, "~g~Livre~n~~w~Nao cometa mais crimes", 5000, 1);
if(gTeam[i] == 4) { gTeam[i] = 3; }
ClearCrime(i);
SetPlayerToTeamColor(i);
}
}
if(GetPlayerMoney(i) - CurrentMoney[i] >= 50000 && PlayerInfo[i][pAdmin] < 1)
{
if(ConsumingMoney[i])
{
CurrentMoney[i] = GetPlayerMoney(i);
ConsumingMoney[i] = 0;
}
else
{
CurrentMoney[i] = GetPlayerMoney(i);
}
}
else
{
CurrentMoney[i] = GetPlayerMoney(i);
}
if(UsedFind[i] >= 1)
{
UsedFind[i] += 1;
if(UsedFind[i] >= 120)
{
UsedFind[i] = 0;
}
}
if(WantAdvogado[i] >= 1)
{
CallAdvogado[i] = 111;
if(WantAdvogado[i] == 1)
{
SendClientMessage(i, COLOR_LIGHTRED, "Vocк quer um Advogado? (Digite sim ou nao)");
}
WantAdvogado[i] ++;
if(WantAdvogado[i] == 8)
{
SendClientMessage(i, COLOR_LIGHTRED, "Vocк quer um Advogado? (Digite sim ou nao)");
}
if(WantAdvogado[i] == 15)
{
SendClientMessage(i, COLOR_LIGHTRED, "Vocк quer um Advogado? (Digite sim ou nao)");
}
if(WantAdvogado[i] == 20)
{
SendClientMessage(i, COLOR_LIGHTRED, "Nгo Hб Advogados Online, sua sentenзa foi iniciada.");
WantAdvogado[i] = 0;
CallAdvogado[i] = 0;
}
}
if(TutTime[i] >= 1)
{
TutTime[i] += 1;
if(TutTime[i] == 5)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
SetPlayerInterior(i, 0);
SetPlayerPos(i, 1558.7385,-1675.7007,16.1953);
SetPlayerCameraPos(i, 1506.7966,-1645.9325,22.3203);
SetPlayerCameraLookAt(i, 1537.1453,-1670.2620,12.6740);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Departamento Da Policia Militar", 3000, 3);
ClearChatbox(i, 100);
SendClientMessage(i, 0xC1FF08AA, ".:: Bem Vindo ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, "O Luxurion RPG foi feito especialmente para vocк!");
SendClientMessage(i, 0x90B6FFAA, "Tudo que foi feito aqui atй hoje, tem a finalidade de que vocкs possam ter uma уtima jogabilidade.");
SendClientMessage(i, 0x90B6FFAA, "Aqui vocк vai ter uma segunda vida, com amigos, esposas, trбfico, roubo, sequestros, etc...");
SendClientMessage(i, 0x90B6FFAA, "A equipe [LR] estб disposta a ajudar a todos, vamos fazer o possнvel para agradar vocкs.");
}
else if(TutTime[i] == 22)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Prefeitura", 3000, 3);
SetPlayerPos(i, 1483.8164,-1727.4125,13.3828);
SetPlayerCameraPos(i,1483.8164,-1727.4125,13.3828);
SetPlayerCameraLookAt(i,1481.0267,-1772.1371,19.4570);
SendClientMessage(i, 0xC1FF08AA, ".:: Informaзхes Bбsicas ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, "RPG й um modo de jogo baseado na vida real, portanto vocк nгo poderб sair matando todo mundo.");
SendClientMessage(i, 0x90B6FFAA, "Nгo poderб tambйm sair zuando de todos, seja como vocк й na vida real.");
SendClientMessage(i, 0x90B6FFAA, "Leve o [LR] a sйrio e jogue como se fosse sua segunda vida!");
}
else if(TutTime[i] == 35)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
SetPlayerPos(i, 2249.4246,-1650.3999,15.4776);
SetPlayerCameraPos(i, 2264.1365,-1653.5085,19.6254);
SetPlayerCameraLookAt(i, 2243.7371,-1668.1760,15.4766);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Binco", 3000, 3);
SendClientMessage(i, 0xC1FF08AA, ".:: Regras Bбsicas ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, "Sempre respeite um ADM, ele estб fazendo de tudo de bom pra vocк.");
SendClientMessage(i, 0x90B6FFAA, "Nгo abuse da boa vontade de nossos ADMS. Nгo cause terrorismo, DM, DB, nгo chingue, nгo abuse de BUG.");
SendClientMessage(i, 0x90B6FFAA, "Por Favor nгo peзa ADM, e tambйm nгo peзa para que eles aumentem seus cargos.");
SendClientMessage(i, 0x90B6FFAA, "E o principal, nunca use Cheater para se beneficiar, em caso de uso de Cheater serб banido para sempre.");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 50)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Banco", 3000, 3);
SetPlayerCameraPos(i, 1463.9277,-1043.5249,31.3181);
SetPlayerCameraLookAt(i, 1461.7306,-1014.2181,26.6566);
SetPlayerPos(i, 1424.6486,-1020.7975,23.8281);
SendClientMessage(i, 0xC1FF08AA, ".:: Comando Ъteis ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, " /relatorio - Falar com os ADMS, /gps - Veja onde ficar os lugares importantes.");
SendClientMessage(i, 0x90B6FFAA, "/rg - Ver seus status, /ajuda - Tudo sobre o servidor.");
SendClientMessage(i, 0x90B6FFAA, "/creditos - Ver os creditos do servidor, /forum - Veja o forum do Luxurion RPG.");
SendClientMessage(i, 0x90B6FFAA, "Durante seu jogo, no /ajuda tem vбrios outros comandos que podem te ajudar.");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 63)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~D.E.T.R.A.N", 3000, 3);
//SetPlayerPos(i, 2144.1062,-970.9034,80.0703);
//SetPlayerCameraPos(i,2212.5364,-989.5125,83.3038);
//SetPlayerCameraLookAt(i,2151.6057,-1014.4344,67.1739);
SetPlayerCameraPos(i,962.4185,-960.7972,48.3208);
SetPlayerPos(i,962.4185,-960.7972,48.3208);
SetPlayerCameraLookAt(i,952.5886,-909.2940,45.7656);
SendClientMessage(i, 0xC1FF08AA, ".:: Contas VIP ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, " Temos Contas VIP a partir de R$ 8,00.");
SendClientMessage(i, 0x90B6FFAA, "A conta VIP custa R$ 10,00 e a conta VIP Premium custa R$ 20,00.");
SendClientMessage(i, 0x90B6FFAA, "Se tornando VIP vocк terб mais benefнcios que players normais.");
SendClientMessage(i, 0x90B6FFAA, "Para ser VIP visite nosso /forum e veja ~> Contas VIP's & Socios.");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 79)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~r~Morro", 3000, 3);
SetPlayerPos(i, 2144.1062,-970.9034,80.0703);
SetPlayerCameraPos(i,2212.5364,-989.5125,83.3038);
SetPlayerCameraLookAt(i,2151.6057,-1014.4344,67.1739);
SendClientMessage(i, 0xC1FF08AA, ".:: Forum ::.");
SendClientMessage(i, 0x90B6FFAA, " ");
SendClientMessage(i, 0x90B6FFAA, "O nosso forum й parte integrada do servidor, ele й essencial para que vocк participe de todas as notнcias do Luxurio RPG.");
SendClientMessage(i, 0x90B6FFAA, "No forum sгo feitas denъncias, reclamaзхes, dъvidas, enfim, ele й muito ъtil para todos.");
SendClientMessage(i, 0x90B6FFAA, "Vocк deve registrar-se no forum para poder postar comentбrios ou criar tуpicos.");
SendClientMessage(i, 0x90B6FFAA, "O endereзo do nosso forum й ----- http://luxurionrpg.forumeiros.com/ ----- /forum");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 86)
{
TextDrawShowForPlayer(i,cima2);
TextDrawShowForPlayer(i,cima);
TextDrawShowForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 0);
ClearChatbox(i, 100);
GameTextForPlayer(i, "~w~Bem Vindo ~r~] Luxurion RPG ~r~]", 3000, 3);
SendClientMessage(i, COLOR_YELLOW2, " ");
SetPlayerCameraPos(i,1519.4929,-1675.6611,21.0900);
SetPlayerPos(i,1547.1060,-1693.2738,13.9214);
SetPlayerCameraLookAt(i,1557.2080,-1675.8904,16.1953);
SendClientMessage(i, 0x90B6FFAA, "Seja bem vindo ao nosso Luxurion RPG - v2.0");
SendClientMessage(i, 0x90B6FFAA, "Sua presenзa aqui й muito importante para nуs!");
SendClientMessage(i, 0x90B6FFAA, "Vocкs sгo a razгo de vida do [LR].");
SendClientMessage(i, 0x90B6FFAA, " ");
}
else if(TutTime[i] == 92)
{
new para1;
TextDrawHideForPlayer(i,cima2);
TextDrawHideForPlayer(i,cima);
TextDrawHideForPlayer(i,baixo);
PlayerPlaySound(i,1183, 0.0, 0.0, 0.0);
TogglePlayerControllable(i, 1);
ClearChatbox(i, 100);
TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
gNews[i] = 0; gFam[i] = 0;
TogglePlayerControllable(i, 1);
SetPlayerVirtualWorld(i,0);
MedicBill[i] = 0;
SetPlayerSpawn(i);
SetCameraBehindPlayer(i);
PlayerInfo[i][pConta] = 1000;
PlayerInfo[i][pCreditos] += 20;
PlayerPlayMusic(i);
RegistrationStep[i] = 4;
PlayerInfo[para1][pVIP] = 2;
ResetPlayerMoneyEx(i);
GivePlayerMoneyEx(i, 3000000);
GameTextForPlayer(i, "~w~Bem Vindo Ao Luxurion RPG Chame um Admin Ou Helper Para Te Ajudar ~b~~n~ /relatorio /duvida ", 3000, 3);
SendClientMessage(i, COLOR_WHITE, "Bem Vindo ao Luxurion RPG v2.0 ® ");
SendClientMessage(i, 0x90B6FFAA, "Digite /equipe para ver a equipe do [LR].");
SendClientMessage(i, 0xC1FF08AA, "Equipe [LR] Agradece a sua preferкncia !");
SendClientMessage(i, 0xC1FF08AA, "==============================================");
SendClientMessage(i, COLOR_WHITE, "Vб ao D.E.T.R.A.N, e tire sua carteira de motorista !");
SetPlayerCheckpoint(i, 961.7795,-944.9980,40.3419,8.0);//detran
SendClientMessage(i, 0xC1FF08AA, "==============================================");
}
}
if(PlayerTazeTime[i] >= 1)
{
PlayerTazeTime[i] += 1;
if(PlayerTazeTime[i] == 15)
{
PlayerTazeTime[i] = 0;
}
else
{
new Float:angle;
GetPlayerFacingAngle(i, angle);
SetPlayerFacingAngle(i, angle + 90);
}
}
if(PlayerDrunk[i] >= 5)
{
PlayerDrunkTime[i] += 1;
if(PlayerDrunkTime[i] == 8)
{
PlayerDrunkTime[i] = 0;
PlayerDrunk[i] = 0;
new Float:angle;
GetPlayerFacingAngle(i, angle);
if(IsPlayerInAnyVehicle(i))
{
if(GetPlayerState(i) == 2)
{
SetVehicleZAngle(GetPlayerVehicleID(i), angle + 25);
}
}
else
{
ApplyAnimation(i,"PED", "WALK_DRUNK",4.0,0,1,0,0,0);
}
}
}
if(PlayerStoned[i] >= 2)
{
PlayerStoned[i] += 1;
if(PlayerStoned[i] == 10)
{
PlayerStoned[i] = 0;
new Float:angle;
GetPlayerFacingAngle(i, angle);
if(IsPlayerInAnyVehicle(i))
{
if(GetPlayerState(i) == 2)
{
SetVehicleZAngle(GetPlayerVehicleID(i), angle + 25);
}
}
else
{
SetPlayerFacingAngle(i, angle + 90);
}
}
}
if(BoxWaitTime[i] > 0)
{
if(BoxWaitTime[i] >= BoxDelay)
{
BoxDelay = 0;
BoxWaitTime[i] = 0;
PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
GameTextForPlayer(i, "~g~A Luta Comeзou", 5000, 1);
TogglePlayerControllable(i, 1);
RorndStarted = 1;
}
else
{
format(gstring, sizeof(gstring), "%d", BoxDelay - BoxWaitTime[i]);
GameTextForPlayer(i, gstring, 1500, 6);
BoxWaitTime[i] += 1;
}
}
if(RorndStarted > 0)
{
if(PlayerBoxing[i] > 0)
{
new trigger = 0;
new Lost = 0;
new Float:angle;
new Float:health;
GetPlayerHealth(i, health);
if(health < 12)
{
if(i == Boxer1) { Lost = 1; trigger = 1; }
else if(i == Boxer2) { Lost = 2; trigger = 1; }
}
if(health < 28) { GetPlayerFacingAngle(i, angle); SetPlayerFacingAngle(i, angle + 85); }
if(trigger)
{
new winner[MAX_PLAYER_NAME];
new loser[MAX_PLAYER_NAME];
new titel[MAX_PLAYER_NAME];
if(Lost == 1)
{
if(IsPlayerConnected(Boxer1) && IsPlayerConnected(Boxer2))
{
SetPlayerPos(Boxer1, 765.8433,3.2924,1000.7186); SetPlayerPos(Boxer2, 765.8433,3.2924,1000.7186);
SetPlayerInterior(Boxer1, 5); SetPlayerInterior(Boxer2, 5);
GetPlayerName(Boxer1, loser, sizeof(loser));
GetPlayerName(Boxer2, winner, sizeof(winner));
if(PlayerInfo[Boxer1][pEmprego] == 8) { PlayerInfo[Boxer1][pLoses] += 1; }
if(PlayerInfo[Boxer2][pEmprego] == 8) { PlayerInfo[Boxer2][pWins] += 1; }
if(TBoxer < 255)
{
if(IsPlayerConnected(TBoxer))
{
if(TBoxer != Boxer2)
{
if(PlayerInfo[Boxer2][pEmprego] == 8)
{
TBoxer = Boxer2;
GetPlayerName(TBoxer, titel, sizeof(titel));
new nstring[MAX_PLAYER_NAME];
format(nstring, sizeof(nstring), "%s", titel);
strmid(Titel[TitelName], nstring, 0, strlen(nstring), 255);
Titel[TitelWins] = PlayerInfo[TBoxer][pWins];
Titel[TitelLoses] = PlayerInfo[TBoxer][pLoses];
SaveBoxer();
format(gstring, sizeof(gstring), "Noticias do Boxe: %s venceu a luta contra %s e agora й campeгo.", titel, loser);
OOCNews(COLOR_WHITE,gstring);
}
else
{
SendClientMessage(Boxer2, COLOR_GREY, " Vocк precisa ser um lutador de boxe para ganhar uma luta!");
}
}
else
{
GetPlayerName(TBoxer, titel, sizeof(titel));
format(gstring, sizeof(gstring), "Noticias do Boxe: %s venceu a luta contra %s.", titel, loser);
OOCNews(COLOR_WHITE,gstring);
Titel[TitelWins] = PlayerInfo[TBoxer][pWins];
Titel[TitelLoses] = PlayerInfo[Boxer2][pLoses];
SaveBoxer();
}
}
}//TBoxer
format(gstring, sizeof(gstring), " Vocк perdeu a luta contra %s.", winner);
SendClientMessage(Boxer1, COLOR_LIGHTBLUE, gstring);
GameTextForPlayer(Boxer1, "~r~Voce Perdeu", 3500, 1);
format(gstring, sizeof(gstring), " Vocк ganhou a luta contra %s.", loser);
SendClientMessage(Boxer2, COLOR_LIGHTBLUE, gstring);
GameTextForPlayer(Boxer2, "~r~Voce Venceu", 3500, 1);
if(GetPlayerHealth(Boxer1, health) < 20)
{
SendClientMessage(Boxer1, COLOR_LIGHTBLUE, " Vocк estб exausto da luta, vб se recuperar.");
SetPlayerHealth(Boxer1, 30.0);
}
else
{
SendClientMessage(Boxer1, COLOR_LIGHTBLUE, " Vocк continua em bom estado apуs a luta.");
SetPlayerHealth(Boxer1, 50.0);
}
if(GetPlayerHealth(Boxer2, health) < 20)
{
SendClientMessage(Boxer2, COLOR_LIGHTBLUE, " Vocк estб exausto da luta, vб se recuperar.");
SetPlayerHealth(Boxer2, 30.0);
}
else
{
SendClientMessage(Boxer2, COLOR_LIGHTBLUE, " Vocк continua em bom estado apуs a luta.");
SetPlayerHealth(Boxer2, 50.0);
}
GameTextForPlayer(Boxer1, "~g~Fim da Luta", 5000, 1); GameTextForPlayer(Boxer2, "~g~Fim da Luta", 5000, 1);
if(PlayerInfo[Boxer2][pEmprego] == 8) { PlayerInfo[Boxer2][pBoxSkill] += 1; }
PlayerBoxing[Boxer1] = 0;
PlayerBoxing[Boxer2] = 0;
}
}
else if(Lost == 2)
{
if(IsPlayerConnected(Boxer1) && IsPlayerConnected(Boxer2))
{
SetPlayerPos(Boxer1, 765.8433,3.2924,1000.7186); SetPlayerPos(Boxer2, 765.8433,3.2924,1000.7186);
SetPlayerInterior(Boxer1, 5); SetPlayerInterior(Boxer2, 5);
GetPlayerName(Boxer1, winner, sizeof(winner));
GetPlayerName(Boxer2, loser, sizeof(loser));
if(PlayerInfo[Boxer2][pEmprego] == 8) { PlayerInfo[Boxer2][pLoses] += 1; }
if(PlayerInfo[Boxer1][pEmprego] == 8) { PlayerInfo[Boxer1][pWins] += 1; }
if(TBoxer < 255)
{
if(IsPlayerConnected(TBoxer))
{
if(TBoxer != Boxer1)
{
if(PlayerInfo[Boxer1][pEmprego] == 8)
{
TBoxer = Boxer1;
GetPlayerName(TBoxer, titel, sizeof(titel));
new nstring[MAX_PLAYER_NAME];
format(nstring, sizeof(nstring), "%s", titel);
strmid(Titel[TitelName], nstring, 0, strlen(nstring), 255);
Titel[TitelWins] = PlayerInfo[TBoxer][pWins];
Titel[TitelLoses] = PlayerInfo[TBoxer][pLoses];
SaveBoxer();
format(gstring, sizeof(gstring), "Noticias do Boxe: %s venceu a luta contra %s e agora й o campeгo.", titel, loser);
OOCNews(COLOR_WHITE,gstring);
}
else
{
SendClientMessage(Boxer1, COLOR_GREY, " Vocк precisa ser um lutador de boxe para ganhar uma luta!");
}
}
else
{
GetPlayerName(TBoxer, titel, sizeof(titel));
format(gstring, sizeof(gstring), "Noticias do Boxe: %s venceu a luta contra %s.", titel, loser);
OOCNews(COLOR_WHITE,gstring);
Titel[TitelWins] = PlayerInfo[TBoxer][pWins];
Titel[TitelLoses] = PlayerInfo[Boxer1][pLoses];
SaveBoxer();
}
}
}//TBoxer
format(gstring, sizeof(gstring), " Vocк perdeu a luta contra %s.", winner);
SendClientMessage(Boxer2, COLOR_LIGHTBLUE, gstring);
GameTextForPlayer(Boxer2, "~r~Voce Perdeu", 3500, 1);
format(gstring, sizeof(gstring), " Vocк ganhou a luta contra %s.", loser);
SendClientMessage(Boxer1, COLOR_LIGHTBLUE, gstring);
GameTextForPlayer(Boxer1, "~g~Voce Venceu", 3500, 1);
if(GetPlayerHealth(Boxer1, health) < 20)
{
SendClientMessage(Boxer1, COLOR_LIGHTBLUE, " Vocк estб exausto da luta, vб se recuperar.");
SetPlayerHealth(Boxer1, 30.0);
}
else
{
SendClientMessage(Boxer1, COLOR_LIGHTBLUE, " Vocк continua em bom estado apуs a luta.");
SetPlayerHealth(Boxer1, 50.0);
}
if(GetPlayerHealth(Boxer2, health) < 20)
{
SendClientMessage(Boxer2, COLOR_LIGHTBLUE, " Vocк estб exausto da luta, vб se recuperar.");
SetPlayerHealth(Boxer2, 30.0);
}
else
{
SendClientMessage(Boxer2, COLOR_LIGHTBLUE, " Vocк continua em bom estado apуs a luta.");
SetPlayerHealth(Boxer2, 50.0);
}
GameTextForPlayer(Boxer1, "~g~Fim da luta", 5000, 1); GameTextForPlayer(Boxer2, "~g~Fim da luta", 5000, 1);
if(PlayerInfo[Boxer1][pEmprego] == 8) { PlayerInfo[Boxer1][pBoxSkill] += 1; }
PlayerBoxing[Boxer1] = 0;
PlayerBoxing[Boxer2] = 0;
}
}
InRing = 0;
RorndStarted = 0;
Boxer1 = 255;
Boxer2 = 255;
TBoxer = 255;
trigger = 0;
}
}
}
if(StartingPaintballRornd == 1 && AnnorncedPaintballRornd == 0)
{
AnnorncedPaintballRornd = 1;
if(PlayerPaintballing[i] != 0)
{
SendClientMessage(i, COLOR_YELLOW, "Paintball serб anunciado em 30 segundos (Para obter mais jogadores).");
}
}
if(StartingKartRornd == 1 && AnnorncedKartRornd == 0)
{
AnnorncedKartRornd = 1;
if(PlayerKarting[i] != 0 && PlayerInKart[i] != 0)
{
SendClientMessage(i, COLOR_YELLOW, "Corrida de Kart serб anunciada em 15 segundos (Para obter mais Corredores de Kart).");
}
}
if(EndingKartRornd == 1)
{
if(PlayerKarting[i] != 0 && PlayerInKart[i] != 0)
{
DisablePlayerCheckpoint(i);
CP[i] = 0;
}
}
if(FindTime[i] > 0)
{
if(FindTime[i] == FindTimePoints[i]) { FindTime[i] = 0; FindTimePoints[i] = 0; DisablePlayerCheckpoint(i); PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0); GameTextForPlayer(i, "~r~Marca Vermelha Ativada", 2500, 1); }
else
{
format(gstring, sizeof(gstring), "%d", FindTimePoints[i] - FindTime[i]);
GameTextForPlayer(i, gstring, 1500, 6);
FindTime[i] += 1;
}
}
if(TaxiCallTime[i] > 0)
{
if(TaxiAccepted[i] < 999)
{
if(IsPlayerConnected(TaxiAccepted[i]))
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(TaxiAccepted[i], X, Y, Z);
SetPlayerCheckpoint(i, X, Y, Z, 5);
}
}
}
if(BusCallTime[i] > 0)
{
if(BusAccepted[i] < 999)
{
if(IsPlayerConnected(BusAccepted[i]))
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(BusAccepted[i], X, Y, Z);
SetPlayerCheckpoint(i, X, Y, Z, 5);
}
}
}
if(MedicCallTime[i] > 0)
{
if(MedicAccepted[i] < 999)
{
if(IsPlayerConnected(MedicAccepted[i]))
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(MedicAccepted[i], X, Y, Z);
SetPlayerCheckpoint(i, X, Y, Z, 5);
}
}
}
if(BombsCallTime[i] > 0)
{
if(BombsAccepted[i] < 999)
{
if(IsPlayerConnected(MedicAccepted[i]))
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(MedicAccepted[i], X, Y, Z);
SetPlayerCheckpoint(i, X, Y, Z, 5);
}
}
}
if(CopsrondaCallTime[i] > 0)
{
if(CopsrondaAccepted[i] < 999)
{
if(IsPlayerConnected(CopsrondaAccepted[i]))
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(CopsrondaAccepted[i], X, Y, Z);
SetPlayerCheckpoint(i, X, Y, Z, 5);
}
}
}
if(MechanicCallTime[i] > 0)
{
if(MechanicAccepted[i] < 999)
{
if(IsPlayerConnected(MechanicAccepted[i]))
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(MechanicAccepted[i], X, Y, Z);
SetPlayerCheckpoint(i, X, Y, Z, 5);
}
}
}
if(Robbed[i] == 1)
{
if(RobbedTime[i] <= 0)
{
RobbedTime[i] = 0;
Robbed[i] = 0;
}
else
{
RobbedTime[i] -= 1;
}
}
if(PlayerCuffed[i] == 1)
{
if(PlayerCuffedTime[i] <= 0)
{
TogglePlayerControllable(i, 1);
PlayerCuffed[i] = 0;
PlayerCuffedTime[i] = 0;
PlayerTazeTime[i] = 1;
}
else
{
PlayerCuffedTime[i] -= 1;
}
}
}
}
}
new variavelstring[ -- ];
format(variavelstring, sizeof(variavelstring), "MENSAGEM TEXTO\n");
strcat(variavelstring, "MENSAGEM TEXTO\n"):
//strcat(variavelstring, "MENSAGEM TEXTO\n"):
//strcat(variavelstring, "MENSAGEM TEXTO\n"):
//strcat(variavelstring, "MENSAGEM TEXTO\n"):
ShowPlayerDialog(playerid, ID, DIALOG_STYLE_MSGBOX, "TITULO", variavelstring, "Proximo", "");
Exemplo:
pawn Код:
|