26.07.2013, 11:46
This is code:
This are warnings:
pic(with lines):
Код:
COMMAND:email(playerid, params[]) { SendAdminText(playerid, "/email", params); new Email[128]; // Check if the player has logged in if (APlayerData[playerid][LoggedIn] == true) { if(sscanf(params, "s[128]", Email)) return SendClientMessage(playerid, 0xFF0000FF, "{FF0000}Komanda:{FF0000} {FFFFFF}/Email <primjer@mail.com>{FFFFFF}"); format(APlayerData[playerid][PlayerPassword], 128, "%s", Email); PlayerFile_Save(playerid); } else return 0; return 1; }
Код:
(6172) : warning 219: local variable "Email" shadows a variable at a preceding level (6176) : warning 213: tag mismatch (6177) : warning 213: tag mismatch (6172) : warning 204: symbol is assigned a value that is never used: "Email" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Warnings.