[Ajuda] argument type mismatch
#7

Quote:
Originally Posted by RodrigoMSR
Посмотреть сообщение
Код:
public OnPlayerDisconnect(playerid)
{
    new arquivo[40], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, 32);
    GetPlayerPos(playerid, Player[playerid][pX], Player[playerid][pY], Player[playerid][pZ]);
    format(arquivo, 40, "Contas/%s.ini", name);
	if(DOF2_FileExists(arquivo))
	{
		Player[playerid][Dinheiro] = GetPlayerMoney(playerid);
		DOF2_SetInt(arquivo, "Senha", Player[playerid][Senha]);
		DOF2_SetInt(arquivo, "Matou", Player[playerid][Matou]);
		DOF2_SetInt(arquivo, "Morreu", Player[playerid][Morreu]);
		DOF2_SetInt(arquivo, "Dinheiro", Player[playerid][Dinheiro]);
		DOF2_SetFloat(arquivo, "pX", Player[playerid][pX]);
		DOF2_SetFloat(arquivo, "pY", Player[playerid][pY]);
		DOF2_SetFloat(arquivo, "pZ", Player[playerid][pZ]);
		DOF2_SaveFile();
	}
	return 1;
}
Funcionou, mais me explica porque ?
Reply


Messages In This Thread
argument type mismatch - by iTouchS - 09.02.2016, 21:09
Re: argument type mismatch - by Joron - 09.02.2016, 21:11
Re: argument type mismatch - by iTouchS - 09.02.2016, 21:14
Re: argument type mismatch - by HaRdiiZin - 09.02.2016, 21:14
Re: argument type mismatch - by iTouchS - 09.02.2016, 21:18
Re: argument type mismatch - by RodrigoMSR - 09.02.2016, 21:30
Re: argument type mismatch - by iTouchS - 09.02.2016, 21:34
Re: argument type mismatch - by hlgamesbr - 09.02.2016, 21:37
Re: argument type mismatch - by HaRdiiZin - 09.02.2016, 21:39
Re: argument type mismatch - by iTouchS - 09.02.2016, 21:55

Forum Jump:


Users browsing this thread: 1 Guest(s)