[Ajuda] Nao Estб Spawnando
#7

pawn Код:
stock CarregarConta(playerid,password[])
{
    new arq[36];
    format(arq,36,"/acc/%s.ini",GetName(playerid));
    if(DOF2_CheckLogin(arq,password))
    {
        Player[playerid][matou] = 0;
        Player[playerid][morreu] = 0;
        Player[playerid][admin] = 0;
        Recorde[playerid] = 0;
        Player[playerid][wins] = 0;
        Player[playerid][losses] = 0;
        RecordeSpree[playerid] = 0;
        SetPlayerScore(playerid,0);
        Player[playerid][wins] = DOF2_GetInt(arq,"Wins");
        Player[playerid][losses] = DOF2_GetInt(arq,"Losses");
        Recorde[playerid] = DOF2_GetInt(arq,"Recorde");
        RecordeSpree[playerid] = DOF2_GetInt(arq,"RecordeSpree");
        Player[playerid][matou] = DOF2_GetInt(arq,"Matou");
        Player[playerid][morreu] = DOF2_GetInt(arq,"Morreu");
        Player[playerid][admin] = DOF2_GetInt(arq,"Admin");
        Player[playerid][vip] = DOF2_GetInt(arq,"VIP");
        Player[playerid][rounds] = DOF2_GetInt(arq,"Rounds");
        SetPlayerScore(playerid,DOF2_GetInt(arq,"Score"));
        DOF2_SetInt(arq,"Logins",DOF2_GetInt(arq,"Logins") + 1);
        new ip[16];
        GetPlayerIp(playerid,ip,16);
        DOF2_SetString(arq,"IP",ip);
        DOF2_SaveFile();
        skine[playerid] = DOF2_GetInt(arq,"Skin");
        Logado[playerid] = true;
        new welcome[150];
        format(welcome,150,"» Novo Jogador: {FFFFFF}%s {FFFF00}ID:{FFFFFF} %d {FFFF00}Logins: {FFFFFF}%d {FFFFFF} Pais: Brasil",GetName(playerid),playerid,DOF2_GetInt(arq,"Logins"));
        SendClientMessageToAll(verde,welcome);
        Atualizar(playerid,HudColor[playerid]);
        SalvarConta(playerid);
        HudColor[playerid] = 5;
        SetSpawnInfo( playerid, 0, 0, POSIЗГO DE SPAWN X, POSIЗГO DE SPAWN Y, POSIЗГO DE SPAWN Z, 0, 0, 0, 0, 0, 0, 0 );
        //ShowPlayerDialog(playerid,147,DIALOG_STYLE_LIST,"Escolha uma cor","{FF2222}Vermelho\n{22FF22}Verde\n{2222FF}\n{FFFF22}Amarelo\n{FF22FF}Rosa\n{FF7A17}Laranja\n{8A3400}Marrom\n{222222}Preto\n{888888}Cinza\n{FFFFFF}Branco\n{22FFFF}Ciano","Selecionar","Sair");
    }
Sу torca os " POSIЗГO DE SPAWN " pela posiзгo do Spawn.
Reply


Messages In This Thread
Nao Estб Spawnando - by JuniorTheDM - 30.05.2015, 03:59
Re: Nao Estб Spawnando - by JuniorTheDM - 30.05.2015, 04:15
Re: Nao Estб Spawnando - by Felipe_Freeze - 30.05.2015, 04:21
Re: Nao Estб Spawnando - by JuniorTheDM - 30.05.2015, 04:23
Re: Nao Estб Spawnando - by Felipe_Freeze - 30.05.2015, 04:25
Re: Nao Estб Spawnando - by JuniorTheDM - 30.05.2015, 04:27
Re: Nao Estб Spawnando - by Felipe_Freeze - 30.05.2015, 04:29
Re: Nao Estб Spawnando - by JuniorTheDM - 30.05.2015, 04:30
Re: Nao Estб Spawnando - by Felipe_Freeze - 30.05.2015, 04:43
Re: Nao Estб Spawnando - by JuniorTheDM - 30.05.2015, 04:44

Forum Jump:


Users browsing this thread: 2 Guest(s)