[Ajuda] Erros simples..
#1

pawn Код:
new StringArquivo[40];
    new float:VidaS, float:ColeteS;
    GetPlayerHealth(playerid,VidaS);
    GetPlayerArmour(playerid,ColeteS);
    format(StringArquivo, sizeof(StringArquivo), "Contas/%s", PegarNome(playerid));
    DOF2_SetInt(StringArquivo, "Dinheiro", Player[Dinheiro][playerid]);
    DOF2_SetFloat(StringArquivo, "Vida", VidaS);
    DOF2_SetFloat(StringArquivo, "Colete", ColeteS);
Como salvo os dados de vida e colete em DOF2 ?
toda vez esta dando erro: warning 213: tag mismatch
Reply
#2

em qual das linhas?
Reply
#3

Nгo й
pawn Код:
float:vidaS
й
pawn Код:
Float:vidaS
O mesmo para o colete.

As iniciais do Float sгo maiъsculas.
Reply
#4

Quando й usado float ?
e quando й Float ??
Reply
#5

Quote:
Originally Posted by Hiuship
Посмотреть сообщение
Quando й usado float ?
e quando й Float ??
Float Uma indicaзгo que a variбvel й do tipo flutuante.
float Uma funзгo que converte nъmeros inteiros para flutuantes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)