House Script help . - 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: House Script help . (
/showthread.php?tid=400514)
House Script help . -
gtasampnewbie - 19.12.2012
Im tryin a new house system , but i keeep gettin these 3 errors.
HouseInfo[iIndex][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]);
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);
++iIndex;
}
return fclose(iFileHandle);
}
tests.pwn(1607) : error 017: undefined symbol "distance"
tests.pwn(1607) : warning 215: expression has no effect
tests.pwn(1607) : error 001: expected token: ";", but found ")"
tests.pwn(1607) : error 029: invalid expression, assumed zero
tests.pwn(1607) : fatal error 107: too many error messages on one line
Re: House Script help . -
nmader - 19.12.2012
Well... did you define distance as a float?
Re: House Script help . -
gtasampnewbie - 19.12.2012
Yes i did , sir.
So what else would be giving me these errors?