10.11.2010, 09:51
Nгo Funcione isso ai й para setar a vida, eu queria Getar mas ele sempre retorna-me 1 ![Huh?](images/smilies/confused.gif)
Eu To Fazendo Um Sistema De Registro Simple e explicativo para postar aqui depois
![Huh?](images/smilies/confused.gif)
pawn Код:
SalvarPlayer(playerid)
{
new Nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nome, sizeof(Nome));
new String[50];
new Float:Vida;
new Float:Colete;
format(String, sizeof(String), CONTAS, Nome);
dini_IntSet(String,"Dinheiro", GetPlayerMoney(playerid));
dini_IntSet(String,"Vida", GetPlayerHealth(playerid, Vida));
dini_IntSet(String,"Colete", GetPlayerArmour(playerid, Colete));
dini_IntSet(String,"Matou", Matou[playerid]);
dini_IntSet(String,"Morreu", Morreu[playerid]);
return 1;
}