pawn Код:
/*------------------------------------------------------------------------------*/
Roubando[playerid] = 0;
Sliding[playerid] = 0;
/*------------------------------------------------------------------------------*/
SetPlayerMapIcon(playerid, 0, -2601.1245,918.3831,64.9872, 13, 0); //ICONE DO COMANDO VERMELHO
SetPlayerMapIcon(playerid, 1, -2497.8706,-308.9779,39.2808, 60, 0); //ICONE DO AMIGO DOS AMIGOS
SetPlayerMapIcon(playerid, 2, -2500.7256,1212.2667,37.4283, 58, 0); //ICONE TERCEIRO COMANDO PURO
SetPlayerMapIcon(playerid, 3, -2915.1123,-1408.1732,11.4844, 59, 0);//ICONE PRIMEIRO COMANDO CAPITAL
SetPlayerMapIcon(playerid, 4, -2526.4712,-612.2817,132.5625, 23, 0);//ICONE BOPE
SetPlayerMapIcon(playerid, 5, -1659.0114,1420.8375,15.5313, 30, 0); //ICONE POLICIA MILITAR
SetPlayerMapIcon(playerid, 6, -2764.5969,375.4546,6.3417, 52, 0); //ICONE BANCO DO BRASIL
/*------------------------------------------------------------------------------*/
TextDrawShowForPlayer(playerid, ImagemEntrada);
/*------------------------------------------------------------------------------*/
TextDrawShowForPlayer(playerid, Rodape);
/*------------------------------------------------------------------------------*/
SendClientMessage(playerid, 0x950000FF, "===================================================");
SendClientMessage(playerid, 0x00FF00FF, "=> SEJA BEM VINDO A EQUIPE FB SA-MP!");
SendClientMessage(playerid, 0x00FF00FF, "=> GAME MODE CRIADO POR: Ze Pequeno");
SendClientMessage(playerid, 0x00FF00FF, "=> Visite nosso forum: link aqui");
SendClientMessage(playerid, 0x950000FF, "===================================================");
/*-----------------------------------------------------------------------------*/
GetPlayerName(playerid,Jogador,MAX_PLAYER_NAME);
format(Celula,sizeof Celula,"%s entrou no servidor!",Jogador);
SendClientMessageToAll(LARANJA,Celula);
format(corda, 36, "Drogas/%s.ini", pNome(playerid));
if(DOF2_FileExists(corda))
{
CarregarDrogas(playerid);
}
else
{
CriarDrogas(playerid);
CarregarDrogas(playerid);
}
new Nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nome, sizeof(Nome));
new String[200];
format(String, sizeof(String), CONTAS, Nome);
if(!dini_Exists(String))
{
format(String, sizeof(String), "{FFFFFF}Bem Vindo a {00FF00}Fuction{950000}Brasil{FFFFFF}.\nA conta %s nгo estб registrada.\nInsira uma senha para registrar-se.", Nome);
ShowPlayerDialog(playerid, REGISTRO, DIALOG_STYLE_PASSWORD, "{00FF00}Fuction {950000}Brasil {FFFFFF}SAMP - REGISTRO", String, "Registrar", "Cancelar");
}
else
{ // linha1872
format(String, sizeof(String), "{FFFFFF}Bem Vindo novamente a {00FF00}Fuction {950000}Brasil{FFFFFF}.\nA conta %s estб registrada.\nInsira sua senha para logar-se.", Nome);
ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "{00FF00}Fuction {950000}Brasil {FFFFFF}SAMP - LOGIN", String, "Logar", "Cancelar");
}