[Ajuda] sem warning e nгo funciona o.O
#6

Tente isto por gentileza:

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new Float:x, Float:y, Float:z, Float:angle, sennior[30], aname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, aname,sizeof(aname));
    format(sennior, sizeof(sennior), PASTA_CONTAS, aname);
    GetPlayerPos(playerid, x, y, z);
    GetPlayerFacingAngle(playerid, angle);
    dini_FloatSet(sennior, "UltimaPosicaoX", x);
    dini_FloatSet(sennior, "UltimaPosicaoY", y);
    dini_FloatSet(sennior, "UltimaPosicaoZ", z);
    dini_FloatSet(sennior, "UltimoAngulo", angle);
// Aqui pra baixo й da GM mesmo!
    DeletePVar(playerid, "PlayerMorto");
    PlayerInfo[playerid][pOnline] = 0;
    SalvarPlayer(playerid);
    new caller = Mobile[playerid];
    new nome[24], str[50];
    GetPlayerName(playerid, nome, 24);
    format(str, sizeof str, "%s - Arara", nome);
    dini_BoolSet("Araras.ini", str, Infoa[playerid][Arara]);
    format(str, sizeof str, "%s - Racao", nome);
    dini_BoolSet("Araras.ini", str, Infoa[playerid][Racao]);
    format(str, sizeof str, "%s - Grande", nome);
    dini_IntSet("Araras.ini", str, Infoa[playerid][Grande]);
    if(caller != 255)
    {
      ...(Comandos da GM abaixo)
Atй mais!
Reply


Messages In This Thread
sem warning e nгo funciona o.O - by zGuigui2068 - 03.08.2015, 13:14
Re: sem warning e nгo funciona o.O - by Sennior - 03.08.2015, 13:17
Re: sem warning e nгo funciona o.O - by zGuigui2068 - 03.08.2015, 13:18
Re: sem warning e nгo funciona o.O - by Sennior - 03.08.2015, 13:21
Re: sem warning e nгo funciona o.O - by zGuigui2068 - 03.08.2015, 13:23
Re: sem warning e nгo funciona o.O - by Sennior - 03.08.2015, 13:25
Re: sem warning e nгo funciona o.O - by zGuigui2068 - 03.08.2015, 13:31
Re: sem warning e nгo funciona o.O - by Sennior - 03.08.2015, 13:42
Re: sem warning e nгo funciona o.O - by zGuigui2068 - 03.08.2015, 13:51
Re: sem warning e nгo funciona o.O - by Dayvison_ - 03.08.2015, 16:39

Forum Jump:


Users browsing this thread: 1 Guest(s)