SA-MP Forums Archive
dini_Float, warning tag mismatch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: dini_Float, warning tag mismatch (/showthread.php?tid=387872)



dini_Float, warning tag mismatch - niels44 - 26.10.2012

hey everyone,

can you tell me whats wrong with this single line? i also used it in another Command, with different variables, but here it gives a warning, and i dont know why...

pawn Код:
PlayerInfo[playerid][Ip] = dini_Float(file, "Ip");
warning 213: tag mismatch

greets niels


Re: dini_Float, warning tag mismatch - CoaPsyFactor - 26.10.2012

Fail, Ignore this


Re: dini_Float, warning tag mismatch - niels44 - 26.10.2012

Quote:
Originally Posted by CoaPsyFactor
Посмотреть сообщение
Fail, Ignore this
dafuq?, i asked for help, not this -_-


Re: dini_Float, warning tag mismatch - niels44 - 26.10.2012

yes i know that ******, but when i used dini_IntSet it did 2 numbers, and there isnt a dini_IpSet asfar as i searched ****** for that, and since ips are used like numbers.numbers. etc, and floats are also like float,float.float,float.float,float. etc, anyways which should i use in this case?


Re: dini_Float, warning tag mismatch - niels44 - 26.10.2012

i see, but still this aint working, and giving warnings aswell, which do you recommend to use? string? integer? float( with warnings..)?


Re: dini_Float, warning tag mismatch - KingHual - 26.10.2012

Why don't you just use dini_Get and save/read the IP as a character array?


Re: dini_Float, warning tag mismatch - niels44 - 26.10.2012

Quote:
Originally Posted by king_hual
Посмотреть сообщение
Why don't you just use dini_Get and save/read the IP as a character array?
yes, but in which to save it then? as a string? integer? float? etc


Re: dini_Float, warning tag mismatch - KingHual - 26.10.2012

Quote:
Originally Posted by niels44
Посмотреть сообщение
yes, but in which to save it then? as a string? integer? float? etc
As I said, a character array. That means a string.


Re: dini_Float, warning tag mismatch - niels44 - 26.10.2012

okay , ty, and also, i still have to learn alot if it comes to saving and floats/strings/integers etc

EDIT:
dafuq, now i have this error...

pawn Код:
PlayerInfo[playerid][Ip] = dini_Get(file, "Ip");
pawn Код:
D:\Program Files\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(4504) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
damn im getting tired of those stupid errors....

anyone knows wuts wrong with this line?


Re: dini_Float, warning tag mismatch - niels44 - 28.10.2012

erm bump? 48 hours have passed