[Ajuda] Warning usando Dini
#1

Olб galera , venho aqui pedir uma ajuda *-*
e que sou novato em Dini , Tentei passar algumas coisas do meu GM
para Dini bem , compilou o GM mais fiquei com alguns warnings
pawn Код:
E:\Versхes do BVO\rpg 5.0.9.pwn(20795) : warning 213: tag mismatch
E:\Versхes do BVO\rpg 5.0.9.pwn(20799) : warning 213: tag mismatch
E:\Versхes do BVO\rpg 5.0.9.pwn(20807) : warning 213: tag mismatch
E:\Versхes do BVO\rpg 5.0.9.pwn(20808) : warning 213: tag mismatch
E:\Versхes do BVO\rpg 5.0.9.pwn(20809) : warning 213: tag mismatch
E:\Versхes do BVO\rpg 5.0.9.pwn(21628) : warning 213: tag mismatch
E:\Versхes do BVO\rpg 5.0.9.pwn(21630) : warning 213: tag mismatch
E:\Versхes do BVO\rpg 5.0.9.pwn(21651) : warning 213: tag mismatch
E:\Versхes do BVO\rpg 5.0.9.pwn(21652) : warning 213: tag mismatch
E:\Versхes do BVO\rpg 5.0.9.pwn(21653) : warning 213: tag mismatch
Linhas
pawn Код:
E:\Versхes do BVO\rpg 5.0.9.pwn(20795) : warning 213: tag mismatch
            dini_IntSet(file, "SHealth",PlayerInfo[playerid][pSHealth]);
E:\Versхes do BVO\rpg 5.0.9.pwn(20799) : warning 213: tag mismatch
            dini_IntSet(file, "Health",PlayerInfo[playerid][pHealth]);
E:\Versхes do BVO\rpg 5.0.9.pwn(20807) : warning 213: tag mismatch
            dini_IntSet(file, "Posx",PlayerInfo[playerid][pPos_x]);
E:\Versхes do BVO\rpg 5.0.9.pwn(20808) : warning 213: tag mismatch
            dini_IntSet(file, "Posy",PlayerInfo[playerid][pPos_y]);
E:\Versхes do BVO\rpg 5.0.9.pwn(20809) : warning 213: tag mismatch
            dini_IntSet(file, "Posz",PlayerInfo[playerid][pPos_z]);
E:\Versхes do BVO\rpg 5.0.9.pwn(21628) : warning 213: tag mismatch
                        dini_IntSet(file, "SHealth",PlayerInfo[playerid][pSHealth] = 0);
E:\Versхes do BVO\rpg 5.0.9.pwn(21630) : warning 213: tag mismatch
                        dini_IntSet(file, "Health",PlayerInfo[playerid][pHealth] = 0);
E:\Versхes do BVO\rpg 5.0.9.pwn(21651) : warning 213: tag mismatch
            dini_IntSet(file, "Posx",PlayerInfo[playerid][pPos_x] = 0);
E:\Versхes do BVO\rpg 5.0.9.pwn(21652) : warning 213: tag mismatch
                        dini_IntSet(file, "Posy",PlayerInfo[playerid][pPos_y] = 0);
E:\Versхes do BVO\rpg 5.0.9.pwn(21653) : warning 213: tag mismatch
                        dini_IntSet(file, "Posz",PlayerInfo[playerid][pPos_z] = 0);
Reply
#2

pawn Код:
dini_FloatSet(file, "SHealth",PlayerInfo[playerid][pSHealth]);
dini_FloatSet(file, "Health",PlayerInfo[playerid][pHealth]);
dini_FloatSet(file, "Posx",PlayerInfo[playerid][pPos_x]);
dini_FloatSet(file, "fPosy",PlayerInfo[playerid][pPos_y]);
dini_FloatSet(file, "Posz",PlayerInfo[playerid][pPos_z]);
dini_FloatSet(file, "SHealth",PlayerInfo[playerid][pSHealth]);
dini_FloatSet(file, "Health",PlayerInfo[playerid][pHealth]);
dini_FloatSet(file, "Posx",PlayerInfo[playerid][pPos_x]);
dini_FloatSet(file, "Posy",PlayerInfo[playerid][pPos_y]);
dini_FloatSet(file, "Posz",PlayerInfo[playerid][pPos_z]);
Reply
#3

PHP код:
dini_FloatSet(file"SHealth",PlayerInfo[playerid][pSHealth]);
dini_FloatSet(file"Health",PlayerInfo[playerid][pHealth]);
dini_FloatSet(file"Posx",PlayerInfo[playerid][pPos_x]);
dini_FloatSet(file"Posy",PlayerInfo[playerid][pPos_y]);
dini_FloatSet(file"Posz",PlayerInfo[playerid][pPos_z]); 
#EDIT

Malz por ter dado double post ...

Й porque o Falcon foi um pouco mais rapido que eu, entгo quanto eu estava ajeitando o codigo e postei, ele jб tinha postado.
Reply
#4

Agora que vim notar que o cуdigo se repete '-'..
Para que salvar os dados, depois salvar setando 0...pra que isso ? 0o

Usa sу assim:
pawn Код:
dini_FloatSet(file, "SHealth",PlayerInfo[playerid][pSHealth]);
dini_FloatSet(file, "Health",PlayerInfo[playerid][pHealth]);
dini_FloatSet(file, "Posx",PlayerInfo[playerid][pPos_x]);
dini_FloatSet(file, "fPosy",PlayerInfo[playerid][pPos_y]);
dini_FloatSet(file, "Posz",PlayerInfo[playerid][pPos_z]);
Reply
#5

Legal vlew funcinou meus warnings sumiram ( tenho que estudar masi kk )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)