Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dialog_Rescue(playerid, response, listitem)
- {
- // Just close the dialog if the player clicked "Cancel"
- if(!response)
- {
- SetCameraBehindPlayer(playerid);
- TogglePlayerSpectating(playerid, 0);
- return 1;
- }
- //new Float:ox, Float:oy,
- new Name[24], Msg[128];
- //ox = GetPVarFloat(playerid, "tpx");
- //oy = GetPVarFloat(playerid, "tpy");
- GetPlayerName(playerid, Name, sizeof(Name));
- // Check the class of the player
- switch (APlayerData[playerid][PlayerClass])
- {
- case ClassTruckDriver:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -11.7144,-310.7346,5.4229,142.6857, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FF7F50}Você foi para o resgate de {FFFFFF}Fleischberg. {00FF00}R${FFFFFF}100 {FF7F50}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsTruckerJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} rainha da estrada. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} veterana. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} aprendiz. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} iniciante. [FB]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2638.3020,1390.3400,8.1920,359.7574, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FF7F50}Você foi para o resgate de {FFFFFF}Battery Point. {00FF00}R${FFFFFF}100 {FF7F50}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsTruckerJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} rainha da estrada. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} veterana. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} aprendiz. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 2:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 656.2769,895.2334,-41.1889, 205.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FF7F50}Você foi para o resgate de {FFFFFF}Quarry Top. {00FF00}R${FFFFFF}100 {FF7F50}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsTruckerJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} rainha da estrada. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} veterana. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} aprendiz. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} iniciante. [QT]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 3:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 2773.2761,2561.8137,10.8203, 146.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FF7F50}Você foi para o resgate de {FFFFFF}Julius Thruway East. {00FF00}R${FFFFFF}100 {FF7F50}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsTruckerJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} rainha da estrada. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} veterana. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} aprendiz. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 4:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1289.8169,-867.5645,45.3817,114.1721, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FF7F50}Você foi para o resgate de {FFFFFF}Mulholland. {00FF00}R${FFFFFF}100 {FF7F50}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsTruckerJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} rainha da estrada. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} veterana. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} aprendiz. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 5:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2431.9006,2118.9978,8.0346,62.8664 , 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FF7F50}Você foi para o resgate de {FFFFFF}BaySide. {00FF00}R${FFFFFF}100 {FF7F50}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsTruckerJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} rei da estrada. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} rainha da estrada. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} veterano. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} veterana. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} aprendiz. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} aprendiz. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTruckerJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como um {FF7F50}caminhoneiro{FFFFFF} iniciante. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF7F50}%s{FFFFFF} entrou como uma {FF7F50}caminhoneira{FFFFFF} iniciante. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 6:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 7:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 8:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassBusDriver:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1765.7679,-1895.9390,13.5628,267.8784, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{80FFFF}Você foi para o resgate de {FFFFFF}El Corona. {00FF00}R${FFFFFF}100 {80FFFF}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsBusDriverJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} chefe terminal. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} chefe terminal. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} chefe terminal. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsBusDriverJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} supervisor rodoviário. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} supervisor rodoviário. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} supervisora rodoviária. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsBusDriverJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} veterano. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} veterano. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} veterana. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsBusDriverJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1982.1715,138.3907,27.6875,92.7413, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{80FFFF}Você foi para o resgate de {FFFFFF}Cranberry Station. {00FF00}R${FFFFFF}100 {80FFFF}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsBusDriverJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} chefe terminal. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} chefe terminal. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} chefe terminal. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsBusDriverJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} supervisor rodoviário. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} supervisor rodoviário. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} supervisora rodoviária. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsBusDriverJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} veterano. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} veterano. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} veterana. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsBusDriverJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 2:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1061.9106,1240.6963,10.8275,271.7368, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{80FFFF}Você foi para o resgate de {FFFFFF}Blackfield. {00FF00}R${FFFFFF}100 {80FFFF}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsBusDriverJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} chefe terminal. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} chefe terminal. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} chefe terminal. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsBusDriverJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} supervisor rodoviário. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} supervisor rodoviário. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} supervisora rodoviária. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsBusDriverJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} veterano. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} veterano. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} veterana. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsBusDriverJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}motorista de ônibus{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}motorista de ônibus{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 3:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 4:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 5:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassPilot:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 2010.0, -2345.0, 13.6, 90.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{008080}Você foi para o resgate de {FFFFFF}LS International. {00FF00}R${FFFFFF}100 {008080}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsPilotJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} capitação da aviação. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} capitação da aviação. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} capitação da aviação. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPilotJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} co-piloto. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} co-piloto. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} co-pilota. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPilotJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} aprendiz de aviadores. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} aprendiz de aviadores. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} aprendiz de aviadores. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPilotJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1211.0, -105.0, 14.2, 135.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{008080}Você foi para o resgate de {FFFFFF}Easter Bay Airport. {00FF00}R${FFFFFF}100 {008080}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsPilotJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} capitação da aviação. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} capitação da aviação. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} capitação da aviação. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPilotJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} co-piloto. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} co-piloto. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} co-pilota. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPilotJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} aprendiz de aviadores. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} aprendiz de aviadores. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} aprendiz de aviadores. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPilotJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 2:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1630.0, 1615.0, 10.9, 90.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{008080}Você foi para o resgate de {FFFFFF}Aero LV. {00FF00}R${FFFFFF}100 {008080}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsPilotJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} capitação da aviação. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} capitação da aviação. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} capitação da aviação. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPilotJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} co-piloto. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} co-piloto. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} co-pilota. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPilotJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} aprendiz de aviadores. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} aprendiz de aviadores. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} aprendiz de aviadores. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPilotJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como um {008080}piloto{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {008080}%s{FFFFFF} entrou como uma {008080}pilota{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 3:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 4:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 5:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassPolice:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1568.5, -1693.5, 6.0, 180.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{0000CD}Você foi para o resgate de {FFFFFF}Pershing Square. {00FF00}R${FFFFFF}100 {0000CD}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsPoliceFined] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} marechal da polícia. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} marechal da polícia. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} marechal da polícia. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} delegado local. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} delegado local. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} delegada local. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} sargento. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} sargento. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} sargento. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} cabo. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} cabo. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} cabo. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1590.0, 716.25, -5.0, 270.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{0000CD}Você foi para o resgate de {FFFFFF}Downtown. {00FF00}R${FFFFFF}100 {0000CD}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsPoliceFined] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} marechal da polícia. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} marechal da polícia. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} marechal da polícia. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} delegado local. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} delegado local. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} delegada local. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} sargento. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} sargento. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} sargento. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} cabo. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} cabo. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} cabo. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 2:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 2275.0, 2460.0, 10.9, 90.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{0000CD}Você foi para o resgate de {FFFFFF}Roca Escalante {00FF00}R${FFFFFF}100 {0000CD}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsPoliceFined] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} marechal da polícia. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} marechal da polícia. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} marechal da polícia. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} delegado local. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} delegado local. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} delegada local. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} sargento. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} sargento. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} sargento. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} cabo. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} cabo. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} cabo. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 3:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 614.7687,-599.1743,17.2330,267.3997, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{0000CD}Você foi para o resgate de {FFFFFF}Red Country. {00FF00}R${FFFFFF}100 {0000CD}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsPoliceFined] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} marechal da polícia. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} marechal da polícia. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} marechal da polícia. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} delegado local. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} delegado local. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} delegada local. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} sargento. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} sargento. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} sargento. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPoliceFined] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} cabo. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como um {0000EE}policial{FFFFFF} cabo. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {0000EE}%s{FFFFFF} entrou como uma {0000EE}policial{FFFFFF} cabo. [RC]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 4:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 5:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassCourier:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 798.0, -618.75, 16.4, 0.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FF0080}Você foi para o resgate de {FFFFFF}Dillimore. {00FF00}R${FFFFFF}100 {FF0080}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsCourierJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} chefe do almoxarifado. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} chefe do almoxarifado. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} chefe do almoxarifado. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsCourierJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} gerente. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} gerente. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} gerente. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsCourierJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} supervisor de entregas. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} supervisor de entregas. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} supervisora de entregas. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsCourierJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1849.25, -135.0, 12.0, 90.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FF0080}Você foi para o resgate de {FFFFFF}Doherty. {00FF00}R${FFFFFF}100 {FF0080}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsCourierJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} chefe do almoxarifado. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} chefe do almoxarifado. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} chefe do almoxarifado. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsCourierJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} gerente. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} gerente. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} gerente. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsCourierJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} supervisor de entregas. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} supervisor de entregas. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} supervisora de entregas. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsCourierJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} iniciante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 2:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1050.5, 1931.0, 10.9, 270.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FF0080}Você foi para o resgate de {FFFFFF}Whitewood. {00FF00}R${FFFFFF}100 {FF0080}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsCourierJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} chefe do almoxarifado. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} chefe do almoxarifado. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} chefe do almoxarifado. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsCourierJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} gerente. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} gerente. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} gerente. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsCourierJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} supervisor de entregas. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} supervisor de entregas. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} supervisora de entregas. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsCourierJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como um {FF0080}agente dos correios{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FF0080}%s{FFFFFF} entrou como uma {FF0080}agente dos correios{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 3:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 4:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 5:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassAssistance:
- {
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 211.25, 24.75, 2.6, 270.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{80FF00}Você foi para o resgate de {FFFFFF}Blueberry. {00FF00}R${FFFFFF}100 {80FF00}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsAssistance] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} chefe de manutenção mecânica. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} chefe de manutenção mecânica. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como uma {80FF00}mecânica{FFFFFF} chefe de manutenção mecânica. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsAssistance] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} encarregado da manutenção. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} encarregado da manutenção. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como uma {80FF00}mecânica{FFFFFF} encarregada da manutenção. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsAssistance] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} profissional automotivo. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} profissional automotivo. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como uma {80FF00}mecânica{FFFFFF} profissional automotivo. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsAssistance] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} iniciante. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} iniciante. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como uma {80FF00}mecânica{FFFFFF} iniciante. [BB]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 2026.2931,-1879.5952,13.5469,91.5325, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{80FF00}Você foi para o resgate de {FFFFFF}Willowfield. {00FF00}R${FFFFFF}100 {80FF00}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsAssistance] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} chefe de manutenção mecânica. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} chefe de manutenção mecânica. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como uma {80FF00}mecânica{FFFFFF} chefe de manutenção mecânica. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsAssistance] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} encarregado da manutenção. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} encarregado da manutenção. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como uma {80FF00}mecânica{FFFFFF} encarregada da manutenção. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsAssistance] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} profissional automotivo. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} profissional automotivo. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como uma {80FF00}mecânica{FFFFFF} profissional automotivo. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsAssistance] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como um {80FF00}mecânico{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {80FF00}%s{FFFFFF} entrou como uma {80FF00}mecânica{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 2:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 3:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 4:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassPizza:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 2301.2170,2571.4937,10.8219, 0.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{EECFA1}Você foi para o resgate de {FFFFFF}Julius North. {00FF00}R${FFFFFF}100 {EECFA1}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsPizzaJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como um {EECFA1}motoboy{FFFFFF} rei dos deliverys. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como um {EECFA1}motoboy{FFFFFF} rei dos deliverys. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como uma {EECFA1}motogirl{FFFFFF} rainha dos deliverys. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPizzaJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como um {EECFA1}motoboy{FFFFFF} encarregado do app. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como um {EECFA1}motoboy{FFFFFF} encarregado do app. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como uma {EECFA1}motogirl{FFFFFF} encarregada do app. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPizzaJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como um {EECFA1}motoboy{FFFFFF} secretário de delivery. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como um {EECFA1}motoboy{FFFFFF} secretário de delivery. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como uma {EECFA1}motogirl{FFFFFF} secretária de delivery. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsPizzaJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como um {EECFA1}motoboy{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como um {EECFA1}motoboy{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {EECFA1}%s{FFFFFF} entrou como uma {EECFA1}motogirl{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 2:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 3:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassMafia:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 957.9697,2451.6240,12.6584,179.9493, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{8000FF}Você foi para o resgate de {FFFFFF}Whitewood Estates. {00FF00}R${FFFFFF}100 {8000FF}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- SetCameraBehindPlayer(playerid);
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsMafiaJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} chefe do crime. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} chefe do crime. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} chefe do crime. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMafiaJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} assaltante. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} assaltante. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} assaltante. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMafiaJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} narcotraficante. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} narcotraficante. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} narcotraficante. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMafiaJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} capanga. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} capanga. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} capanga. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 2403.3577,-2346.1191,16.0481,43.9146, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{8000FF}Você foi para o resgate de {FFFFFF}Ocean Docks. {00FF00}R${FFFFFF}100 {8000FF}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsMafiaJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} chefe do crime. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} chefe do crime. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} chefe do crime. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMafiaJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} assaltante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} assaltante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} assaltante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMafiaJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} narcotraficante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} narcotraficante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} narcotraficante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMafiaJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} capanga. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} capanga. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} capanga. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 2:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2929.3279,470.5910,8.3389,267.6602, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{8000FF}Você foi para o resgate de {FFFFFF}Palisades. {00FF00}R${FFFFFF}100 {8000FF}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsMafiaJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} chefe do crime. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} chefe do crime. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} chefe do crime. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMafiaJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} assaltante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} assaltante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} assaltante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMafiaJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} narcotraficante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} narcotraficante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} narcotraficante. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMafiaJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} capanga. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como um {8000FF}mafioso{FFFFFF} capanga. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {8000FF}%s{FFFFFF} entrou como uma {8000FF}mafiosa{FFFFFF} capanga. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 3:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 4:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 5:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassMedico:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1608.9668, 1818.2228,10.8203, 100.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FA8072}Você foi para o resgate de {FFFFFF}Redsands West. {00FF00}R${FFFFFF}100 {FA8072}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsMedico] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como um {FA8072}médico{FFFFFF} cirurgião. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como um {FA8072}médico{FFFFFF} cirurgião. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como uma {FA8072}médica{FFFFFF} cirurgiã. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMedico] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como um {FA8072}médico{FFFFFF} experiente. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como um {FA8072}médico{FFFFFF} experiente. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como uma {FA8072}médica{FFFFFF} experiente. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMedico] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como um {FA8072}médico{FFFFFF} certificado. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como um {FA8072}médico{FFFFFF} certificado. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como uma {FA8072}médica{FFFFFF} certificada. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsMedico] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como um {FA8072}médico{FFFFFF} estagiário. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como um {FA8072}médico{FFFFFF} estagiário. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FA8072}%s{FFFFFF} entrou como uma {FA8072}médica{FFFFFF} estagiária. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 2:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassRoadWorker:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1866.25, -1715.25, 22.7, 125.0, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{B0C4DE}Você foi para o resgate de {FFFFFF}WhetStone. {00FF00}R${FFFFFF}100 {B0C4DE}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsRoadworkerJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como um {B0C4DE}operário{FFFFFF} rei dos maquinários. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como um {B0C4DE}operário{FFFFFF} rei dos maquinários. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como uma {B0C4DE}operária{FFFFFF} rainha dos maquinários. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsRoadworkerJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como um {B0C4DE}operário{FFFFFF} diretor de reparos. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como um {B0C4DE}operário{FFFFFF} diretor de reparos. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como uma {B0C4DE}operária{FFFFFF} diretor de reparos. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsRoadworkerJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como um {B0C4DE}operário{FFFFFF} supervisor de radares. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como um {B0C4DE}operário{FFFFFF} supervisor de radares. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como uma {B0C4DE}operária{FFFFFF} supervisora de radares. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsRoadworkerJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como um {B0C4DE}operário{FFFFFF} auxiliar em reparos. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como um {B0C4DE}operário{FFFFFF} auxiliar em reparos. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {B0C4DE}%s{FFFFFF} entrou como uma {B0C4DE}operária{FFFFFF} auxiliar em reparos. [WS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 2:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 3:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassTaxiDriver:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1650.5203,-1124.4360,23.9063,274.0598, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FFFF00}Você foi para o resgate de {FFFFFF}Mulholland. {00FF00}R${FFFFFF}100 {FFFF00}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsTaxiDriverJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} chefe em perímetro urbano. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} chefe em perímetro urbano. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como uma {FFFF00}taxista{FFFFFF} chefe em perímetro urbano. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTaxiDriverJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} veterano em taximetro. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} veterano em taximetro. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como uma {FFFF00}taxista{FFFFFF} veterana em taximetro. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTaxiDriverJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} profissional em 4 rodas. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} profissional em 4 rodas. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como uma {FFFF00}taxista{FFFFFF} profissional em 4 rodas. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTaxiDriverJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como uma {FFFF00}taxista{FFFFFF} iniciante. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1138.9193,1397.9423,5.8203,355.8166, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{FFFF00}Você foi para o resgate de {FFFFFF}Blackfield. {00FF00}R${FFFFFF}100 {FFFF00}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsTaxiDriverJobs] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} chefe em perímetro urbano. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} chefe em perímetro urbano. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como uma {FFFF00}taxista{FFFFFF} chefe em perímetro urbano. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTaxiDriverJobs] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} veterano em taximetro. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} veterano em taximetro. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como uma {FFFF00}taxista{FFFFFF} veterana em taximetro. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTaxiDriverJobs] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} profissional em 4 rodas. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} profissional em 4 rodas. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como uma {FFFF00}taxista{FFFFFF} profissional em 4 rodas. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatsTaxiDriverJobs] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como um {FFFF00}taxista{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {FFFF00}%s{FFFFFF} entrou como uma {FFFF00}taxista{FFFFFF} iniciante. [LV]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 2:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 3:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 4:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassMaritimoDriver:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 2724.6697,-2570.8540,3.0000,182.1634, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{43CD80}Você foi para {FFFFFF}Ocean Docks. {00FF00}R${FFFFFF}100 {43CD80}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {43CD80}%s{FFFFFF} entrou como um {43CD80}Transportador Maritimo{FFFFFF}. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {43CD80}%s{FFFFFF} entrou como um {43CD80}Transportador Maritimo{FFFFFF}. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {43CD80}%s{FFFFFF} entrou como uma {43CD80}Transportadora Maritima{FFFFFF}. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- }
- case 1:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2196.6345,2405.6853,4.9587,48.6595, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{43CD80}Você foi para {FFFFFF}BaySide. {00FF00}R${FFFFFF}100 {43CD80}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {43CD80}%s{FFFFFF} entrou como um {43CD80}Transportador Maritimo{FFFFFF}. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {43CD80}%s{FFFFFF} entrou como um {43CD80}Transportador Maritimo{FFFFFF}. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {43CD80}%s{FFFFFF} entrou como uma {43CD80}Transportadora Maritima{FFFFFF}. [BS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- }
- case 2:
- {
- SetPlayerPos(playerid, 2164.2405, -1007.3947, 62.7968);
- SCM(playerid, -1, "{FF0000}Você foi para a área de DM");
- }
- case 3:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 4:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassAdvogado:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1069.9181,-1775.3966,13.3411,0.6120, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{DDA0DD}Você foi para o resgate de {FFFFFF}Conference Center. {00FF00}R${FFFFFF}100 {DDA0DD}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatusAdvogado] >= 1000){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como um {DDA0DD}advogado{FFFFFF} rei da advocacia. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como um {DDA0DD}advogado{FFFFFF} rei da advocacia. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como uma {DDA0DD}advogada{FFFFFF} rainha da advocacia. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatusAdvogado] >= 500){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como um {DDA0DD}advogado{FFFFFF} juiz criminal. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como um {DDA0DD}advogado{FFFFFF} juiz criminal. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como uma {DDA0DD}advogada{FFFFFF} juiza criminal. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatusAdvogado] >= 100){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como um {DDA0DD}advogado{FFFFFF} promotor. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como um {DDA0DD}advogado{FFFFFF} promotor. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como uma {DDA0DD}advogada{FFFFFF} promotora. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- else if(APlayerData[playerid][StatusAdvogado] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como um {DDA0DD}advogado{FFFFFF} estágiaria de justiça. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como um {DDA0DD}advogado{FFFFFF} estágiaria de justiça. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {DDA0DD}%s{FFFFFF} entrou como uma {DDA0DD}advogada{FFFFFF} estágiaria de justiça. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 2:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassVigilante:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1766.1881,-1699.2538,13.4713,310.4645, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{9BCD9B}Você foi para o resgate de {FFFFFF}Little Mexico. {00FF00}R${FFFFFF}100 {9BCD9B}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- CarroF[playerid] = true;
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {9BCD9B}%s{FFFFFF} entrou como um {9BCD9B}vigilante{FFFFFF}. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {9BCD9B}%s{FFFFFF} entrou como um {9BCD9B}vigilante{FFFFFF}. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {9BCD9B}%s{FFFFFF} entrou como uma {9BCD9B}vigilante{FFFFFF}. [LS]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- }
- case 1:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 2:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassExercito:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -5609.4287,2928.5859,2.3450,222.5056, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{228B22}Você foi para a {FFFFFF}Base. {00FF00}R${FFFFFF}100 {228B22}foram custados a você!");
- SpawnPlayer(playerid);
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if(APlayerData[playerid][StatsPoliceFined] >= 0){
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {228B22}%s{FFFFFF} entrou como um {228B22}militar.{FFFFFF} [BASE]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {228B22}%s{FFFFFF} entrou como um {228B22}militar.{FFFFFF} [BASE]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {228B22}%s{FFFFFF} entrou como uma {228B22}militar.{FFFFFF} [BASE]", Name);
- SCMA(0xFFFFFFFF, Msg); }}
- }
- case 1:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 2:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- case ClassBombeiro:
- {
- // Set the spawn coordinates based on the selection in the list
- switch (listitem)
- {
- case 0:
- {
- SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2326.5859,-87.3357,35.2993,53.6351, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, 0xFF0000FF, "{B03060}Você foi para o resgate de {FFFFFF}Garcia. {00FF00}R${FFFFFF}100 {B03060}foram custados a você!");
- SpawnPlayer(playerid); // Force the player to spawn at the requested coordinates
- //Reduce the player's money by 200
- Ganhos(playerid, -100, 0);
- if (APlayerData[playerid][Sexo] == 0) {
- format(Msg, 128, "{FFFFFF}» {B03060}%s{FFFFFF} entrou como um {B03060}bombeiro{FFFFFF}. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 1) {
- format(Msg, 128, "{FFFFFF}» {B03060}%s{FFFFFF} entrou como um {B03060}bombeiro{FFFFFF}. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- if (APlayerData[playerid][Sexo] == 2) {
- format(Msg, 128, "{FFFFFF}» {B03060}%s{FFFFFF} entrou como uma {B03060}bombeiro{FFFFFF}. [SF]", Name);
- SCMA(0xFFFFFFFF, Msg); }
- }
- case 1:
- {
- new HouseList[1000];
- for (new i; i < MAX_HOUSESPERPLAYER; i++)
- {
- if (APlayerData[playerid][Houses][i] != 0)
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, AHouseData[APlayerData[playerid][Houses][i]][HouseName]);
- else
- format(HouseList, 1000, "%s{FFFFFF}» {6495ED}%s{6495ED}\n", HouseList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoHome2, DIALOG_STYLE_LIST, "Selecione a casa que deseja ir:", HouseList, "Ir", #);
- }
- case 2:
- {
- new BusinessList[1000], BusID, BusType, Earnings;
- for (new i; i < MAX_BUSINESSPERPLAYER; i++)
- {
- BusID = APlayerData[playerid][Business][i];
- if (BusID != 0)
- {
- BusType = ABusinessData[BusID][BusinessType];
- Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
- format(BusinessList, 1000, "%s{00FF00}%s{FFFFFF} (ganhos: {00FF00}R${FFFFFF}%i)\n", BusinessList, ABusinessData[BusID][BusinessName], Earnings);
- }
- else
- format(BusinessList, 1000, "%s{FFFFFF}%s{FFFFFF}\n", BusinessList, "-");
- }
- ShowPlayerDialog(playerid, DialogGoBusiness2, DIALOG_STYLE_LIST, "Escolha a empresa para ir:", BusinessList, "Selecionar", #);
- }
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment