[Ajuda] Ajuda ?
#9

Achei a tag de code ^^

Troque isso:

pawn Код:
public OnPlayerSpawn(playerid)
{
    new file[30], aname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, aname,sizeof(aname));
    format(file, sizeof(file), PASTA_CONTAS, aname);
    SetPlayerPos(playerid, dini_Float(file, "UltimaPosicaoX"), dini_Float(file, "UltimaPosicaoY"), dini_Float(file, "UltimaPosicaoZ"));
    SetPlayerFacingAngle(playerid, dini_Float(file, "UltimoAngulo"));
    return 1;
}
Para isso:

pawn Код:
public OnPlayerSpawn(playerid)
{
new sennior[30], aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname,sizeof(aname));
format(sennior, sizeof(sennior), PASTA_CONTAS, aname);
SetPlayerPos(playerid, dini_Float(sennior, "UltimaPosicaoX"), dini_Float(sennior, "UltimaPosicaoY"), dini_Float(sennior, "UltimaPosicaoZ"));
SetPlayerFacingAngle(playerid, dini_Float(sennior, "UltimoAngulo"));
return 1;
}
Abs.
Reply


Messages In This Thread
Ajuda ? - by zGuigui2068 - 03.08.2015, 03:48
Re: Ajuda ? - by Sennior - 03.08.2015, 04:51
Re: Ajuda ? - by Welconha - 03.08.2015, 07:01
Re: Ajuda ? - by zGuigui2068 - 03.08.2015, 10:33
Re: Ajuda ? - by Artista - 03.08.2015, 10:53
Re: Ajuda ? - by zGuigui2068 - 03.08.2015, 12:12
Re: Ajuda ? - by Sennior - 03.08.2015, 12:42
Re: Ajuda ? - by zGuigui2068 - 03.08.2015, 12:47
Re: Ajuda ? - by Sennior - 03.08.2015, 12:51
Re: Ajuda ? - by zGuigui2068 - 04.08.2015, 01:35

Forum Jump:


Users browsing this thread: 2 Guest(s)