Tag mismatch with dini..
#1

define:

pawn Код:
new armour;
Warning lines:

pawn Код:
dini_IntSet(string, "Arrmor", GetPlayerArmour(playerid, armour));
pawn Код:
dini_IntSet(string, "Arrmor", GetPlayerArmour(playerid, armour));
Reply
#2

Armour is float and the armour is stored to a variable and it's passed by reference. The function doesn't return anything.

pawn Код:
new Float: armour;
and:
pawn Код:
GetPlayerArmour(playerid, armour);
dini_IntFloat(string, "Arrmor", armour);
Reply
#3

pawn Код:
error 017: undefined symbol "dini_IntFloat"
2x
Reply
#4

Do some research yourself instead of simply relying on others. You could search the wiki, or open the actual include file, among other things.
Reply
#5

It's meant that "Int" is replaced by "Float" - I just replaced the wrong word by accident.

It's dini_FloatSet.
Reply
#6

You was really helpful Konstantinos, it's working rep+ for you, thank you.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)