16.12.2011, 18:51
Hi just creating a dynamic house system for my script and i got a compile error and i was wondering if you could help me, here is the compile output and lines with the error:
Compile Output:
Line 516 to 528
All help will be appreciated, also i think i may be missing a include but not sure which!
Compile Output:
Код:
F:\NRP - New\gamemodes\NRP.pwn(516) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(516) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(517) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(517) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(518) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(518) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(519) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(519) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(520) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(520) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(521) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(521) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(522) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(522) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(523) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(523) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(524) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(524) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(525) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(525) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(526) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(526) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(527) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(527) : error 017: undefined symbol "hFile" F:\NRP - New\gamemodes\NRP.pwn(528) : error 017: undefined symbol "var" F:\NRP - New\gamemodes\NRP.pwn(528) : error 017: undefined symbol "hFile" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
pawn Код:
format(var, 32, "pHouseX=%.1f\n",PlayerInfo[playerid][pHouseX]);fwrite(hFile, var);
format(var, 32, "pHouseY=%.1f\n",PlayerInfo[playerid][pHouseY]);fwrite(hFile, var);
format(var, 32, "pHouseZ=%.1f\n",PlayerInfo[playerid][pHouseZ]);fwrite(hFile, var);
format(var, 32, "pHouseVW=%d\n",PlayerInfo[playerid][pHouseVW]);fwrite(hFile, var);
format(var, 32, "pHouseIntX=%.1f\n",PlayerInfo[playerid][pHouseIntX]);fwrite(hFile, var);
format(var, 32, "pHouseIntY=%.1f\n",PlayerInfo[playerid][pHouseIntY]);fwrite(hFile, var);
format(var, 32, "pHouseIntZ=%.1f\n",PlayerInfo[playerid][pHouseIntZ]);fwrite(hFile, var);
format(var, 32, "pHouseInt=%d\n",PlayerInfo[playerid][pHouseInt]);fwrite(hFile, var);
format(var, 32, "pHouseCarX=%.1f\n",PlayerInfo[playerid][pHouseCarX]);fwrite(hFile, var);
format(var, 32, "pHouseCarY=%.1f\n",PlayerInfo[playerid][pHouseCarY]);fwrite(hFile, var);
format(var, 32, "pHouseCarZ=%.1f\n",PlayerInfo[playerid][pHouseCarZ]);fwrite(hFile, var);
format(var, 32, "pHouseCarAngle=%.1f\n",PlayerInfo[playerid][pHouseCarAngle]);fwrite(hFile, var);
format(var, 32, "pHouseCarId=%d\n",PlayerInfo[playerid][pHouseCarId]);fwrite(hFile, var);