03.06.2014, 03:51
i have error when i copy mode mysql to mode not mysql:
and the lines:
sorry my bad english
PHP код:
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1483) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1483) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1483) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1483) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1485) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1485) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1485) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1485) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1486) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1486) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1486) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1486) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1487) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1487) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1487) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1487) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1488) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1488) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1488) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1488) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1489) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1489) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1489) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1489) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1490) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1490) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1490) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1490) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1491) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1491) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1491) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1491) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1492) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1492) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1492) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1492) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1493) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1493) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1493) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1493) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1494) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1494) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1494) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1494) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1495) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1495) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1495) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1495) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1496) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1496) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1496) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1496) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1497) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1497) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1497) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1497) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1498) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1498) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1498) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1498) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1499) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1499) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1499) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1499) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1500) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1500) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1500) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1500) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1501) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1501) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1501) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1501) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1502) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1502) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1502) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1502) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1503) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1503) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1503) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1503) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1504) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1504) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1504) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1504) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1505) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1505) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1505) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1505) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1506) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1506) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1506) : warning 202: number of arguments does not match definition
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1506) : error 033: array must be indexed (variable "ini_GetValue")
D:\Viet Nam Roleplay\NGRP+NERP 0.3x\gamemodes\NERP.pwn(1510) : error 017: undefined symbol "tRewardText"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
24 Errors.
PHP код:
stock Misc_Load() {
new
szResult[32],
szFileStr[160],
Float: fObjectPos[3],
File: iFileHandle = fopen("serverConfig.ini", io_read);
while(fread(iFileHandle, szFileStr, sizeof(szFileStr))) {
if(ini_GetValue(szFileStr, "P1906Pass", CustomProject1906Password, sizeof(CustomProject1906Password))) continue;
else if(ini_GetValue(szFileStr, "RaceLaps", szResult, sizeof(szResult))) RaceTotalLaps = strval(szResult);
else if(ini_GetValue(szFileStr, "RaceJoins", szResult, sizeof(szResult))) TotalJoinsRace = strval(szResult);
else if(ini_GetValue(szFileStr, "Jackpot", szResult, sizeof(szResult))) Jackpot = strval(szResult);
else if(ini_GetValue(szFileStr, "Tax", szResult, sizeof(szResult))) Tax = strval(szResult);
else if(ini_GetValue(szFileStr, "TaxVal", szResult, sizeof(szResult))) TaxValue = strval(szResult);
else if(ini_GetValue(szFileStr, "VIPM", szResult, sizeof(szResult))) VIPM = strval(szResult);
else if(ini_GetValue(szFileStr, "LoginCount", szResult, sizeof(szResult))) TotalLogin = strval(szResult);
else if(ini_GetValue(szFileStr, "ConnCount", szResult, sizeof(szResult))) TotalConnect = strval(szResult);
else if(ini_GetValue(szFileStr, "ABanCount", szResult, sizeof(szResult))) TotalAutoBan = strval(szResult);
else if(ini_GetValue(szFileStr, "RegCount", szResult, sizeof(szResult))) TotalRegister = strval(szResult);
else if(ini_GetValue(szFileStr, "MaxPCount", szResult, sizeof(szResult))) MaxPlayersConnected = strval(szResult);
else if(ini_GetValue(szFileStr, "MaxPDay", szResult, sizeof(szResult))) MPDay = strval(szResult);
else if(ini_GetValue(szFileStr, "MaxPMonth", szResult, sizeof(szResult))) MPMonth = strval(szResult);
else if(ini_GetValue(szFileStr, "MaxPYear", szResult, sizeof(szResult))) MPYear = strval(szResult);
else if(ini_GetValue(szFileStr, "Uptime", szResult, sizeof(szResult))) TotalUptime = strval(szResult);
else if(ini_GetValue(szFileStr, "BoxWins", szResult, sizeof(szResult))) Titel[TitelWins] = strval(szResult);
else if(ini_GetValue(szFileStr, "BoxLosses", szResult, sizeof(szResult))) Titel[TitelLoses] = strval(szResult);
else if(ini_GetValue(szFileStr, "SpecTimer", szResult, sizeof(szResult))) SpecTimer = strval(szResult);
else if(ini_GetValue(szFileStr, "RewardPlay", szResult, sizeof(szResult))) iRewardPlay = strval(szResult);
else if(ini_GetValue(szFileStr, "RewardPosX", szResult, sizeof(szResult))) fObjectPos[0] = floatstr(szResult);
else if(ini_GetValue(szFileStr, "RewardPosY", szResult, sizeof(szResult))) fObjectPos[1] = floatstr(szResult);
else if(ini_GetValue(szFileStr, "RewardPosZ", szResult, sizeof(szResult))) fObjectPos[2] = floatstr(szResult);
}
if(iRewardBox) {
iRewardObj = CreateDynamicObject(19055, fObjectPos[0], fObjectPos[1], fObjectPos[2], 0.0, 0.0, 0.0, .streamdistance = 100.0);
tRewardText = CreateDynamic3DTextLabel("Gold Reward Gift Box\n{FFFFFF}/getrewardgift{F3FF02} de nhan qua!", COLOR_YELLOW, fObjectPos[0], fObjectPos[1], fObjectPos[2], 10.0, .testlos = 1, .streamdistance = 50.0);
}
fclose(iFileHandle);
printf("[MiscLoad] Misc Loaded");
}