Some Errors With INI_String In Y_INI
#1

pawn Код:
INI_String("MarriedTo" , PlayerInfo[playerid][pMarriedTo], sizeof(PlayerInfo[playerid][pMarriedTo]));
I get these errors :
Quote:

Main.pwn(1883 : error 001: expected token: "]", but found "-identifier-"
Main.pwn(1883 : warning 215: expression has no effect
Main.pwn(1883 : error 001: expected token: ";", but found "]"
Main.pwn(1883 : error 029: invalid expression, assumed zero

Everything seem good to me.....
Reply
#2

Show the code above this line.
Reply
#3

I found the problem... It was using sizeof in enums.... Thanks anyways.
Reply
#4

Glad you figured it out!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)