K4 wrote on May 11, 2012, 6:24 pm:
HouseInfo = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo, HouseInfo, HouseInfo+0.5,30.0, 1, 30.0);
stavi ovako
i dalje
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(16899) : warning 213: tag mismatch
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19526) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19526) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19526) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19526) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19526) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19526) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19527) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19527) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19527) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19527) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19527) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19527) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19528) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19528) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19528) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19528) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19528) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19528) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(19531) : warning 217: loose indentation
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(25423) : warning 217: loose indentation
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(57985) : error 017: undefined symbol "distance"
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(57985) : warning 215: expression has no effect
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(57985) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(57985) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mauro\Desktop\NGRP\NGG\Next Generation Roleplay Fixed NEW\gamemodes\G-RP.pwn(57985) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
evo ti Joey
}
LoadHouses() {
if(!fexist("apartments.cfg")) return 1;
new
szFileStr,
File: iFileHandle = fopen("apartments.cfg", io_read),
iIndex;
while(iIndex < sizeof(HouseInfo) && fread(iFileHandle, szFileStr)) {
sscanf(szFileStr, "p<|>iiissffffffffiiiiiiiiiiiiiiiiiff",
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo,
HouseInfo
);
if(HouseInfo) {
if(HouseInfo == 0) format(szFileStr, sizeof(szFileStr), "This house is owned by\n%s\nLevel: %d\nID: %d",HouseInfo,HouseInfo,iIndex);
else format(szFileStr, sizeof(szFileStr), "This house is owned by\n%s\nRent: $%d\nLevel: %d\nID: %d\nType /rentroom to rent a room",HouseInfo,HouseInfo,HouseInfo,iIndex);
}
else format(szFileStr, sizeof(szFileStr), "This house is\n for sale!\n Description: %s\nCost: $%d\n Level: %d\nID: %d\nTo buy this house type /buyhouse",HouseInfo,HouseInfo,HouseInfo,iIndex);
HouseInfo = CreateDynamicPickup(1273, 23, HouseInfo, HouseInfo, HouseInfo);
HouseInfo = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo, HouseInfo, HouseInfo+0.5,30.0, 1, 30.0);
++iIndex;
}
return fclose(iFileHandle);
}
valjda je to dosta