ERROR.. i dunno why..
#1

please help me with this..

pawn Код:
D:\SERVER\gamemodes\gf.pwn(8479) : error 001: expected token: ";", but found "if"
pawn Код:
public LoadProperty()
{
    new file[64];
    for(new idx = 0; idx < sizeof(HouseInfo) ; idx++)
    {
        format(file, sizeof(file),"Houses/%d.ini", idx)
Thats the line-->>      if(dini_Exists(file))
        {
            HouseInfo[idx][hEntranceX] = dini_Float(file,"Entrance_X");
..............
.......
....
Reply
#2

pawn Код:
public LoadProperty()
{
    new file[64];
    for(new idx = 0; idx < sizeof(HouseInfo) ; idx++)
    {
        format(file, sizeof(file),"Houses/%d.ini", idx); // you didn't put ";" at the end...
            if(dini_Exists(file))
        {
            HouseInfo[idx][hEntranceX] = dini_Float(file,"Entrance_X");
..............
.......
....
[/QUOTE]
Reply
#3

lol... how did i didn't notice... hehe well thanks anyway XD
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)