[Help] Complie warning 8 helpme
#1

Код:
D:\ўН§©С№\GTA\GTA MARIO\gamemodes\lcrp.pwn(30) : warning 201: redefinition of constant/macro (symbol "MYSQL_HOST")
D:\ўН§©С№\GTA\GTA MARIO\gamemodes\lcrp.pwn(31) : warning 201: redefinition of constant/macro (symbol "MYSQL_USER")
D:\ўН§©С№\GTA\GTA MARIO\gamemodes\lcrp.pwn(32) : warning 201: redefinition of constant/macro (symbol "MYSQL_PASS")
D:\ўН§©С№\GTA\GTA MARIO\gamemodes\lcrp.pwn(33) : warning 201: redefinition of constant/macro (symbol "MYSQL_DB")
D:\ўН§©С№\GTA\GTA MARIO\gamemodes\lcrp.pwn(22648) : warning 217: loose indentation
D:\ўН§©С№\GTA\GTA MARIO\gamemodes\lcrp.pwn(22649) : warning 217: loose indentation
D:\ўН§©С№\GTA\GTA MARIO\gamemodes\lcrp.pwn(22652) : warning 217: loose indentation
D:\ўН§©С№\GTA\GTA MARIO\gamemodes\lcrp.pwn(42985) : warning 203: symbol is never used: "AdminDuty"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Warnings.
th
Reply
#2

Post some code.
Reply
#3

For warnings 1 - 4:

You defined MYSQL_HOST, MYSQL_USER, MYSQL_PASS and MYSQL_DB 2 or more times alerady, give the variable another name.

warnings on lines 22648, 22648 and 22652 can be fixed by tabbing around. (Hitting tab to line it up)

warning on line 42985: You made AdminDuty equal something, this should most likely equal 1.
i.e. AdminDuty[playerid] == 1; or AdminDuty[playerid] = 1;

Hiitchy-
Reply
#4

Quote:
Originally Posted by Hiitchy - Oui, tu comprends?
For warnings 1 - 4:

You defined MYSQL_HOST, MYSQL_USER, MYSQL_PASS and MYSQL_DB 2 or more times alerady, give the variable another name.

warnings on lines 22648, 22648 and 22652 can be fixed by tabbing around. (Hitting tab to line it up)

warning on line 42985: You made AdminDuty equal something, this should most likely equal 1.
i.e. AdminDuty[playerid] == 1; or AdminDuty[playerid] = 1;

Hiitchy-
thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)