ERROR.. i dunno why.. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ERROR.. i dunno why.. (
/showthread.php?tid=190535)
ERROR.. i dunno why.. -
FujiNNN - 15.11.2010
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");
..............
.......
....
Re: ERROR.. i dunno why.. -
Alex_Valde - 15.11.2010
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]
Re: ERROR.. i dunno why.. -
FujiNNN - 15.11.2010
lol... how did i didn't notice... hehe well thanks anyway XD