15.12.2014, 11:56
PHP код:
//Text Administrator
if(PlayerInfo[playerid][Level] >= 1) {
new messtring[128], pName[24];
format(messtring, sizeof(messtring), "~w~]Administrator] ~b~ %s(%d) ~w~has ~r~Joined ~w~Server",pName, playerid);
return GameTextForAll(messtring, 5000, 3 );
}
//Text Co-OWNER
if(PlayerInfo[playerid][Level] >= 5) {
new messtring[128], pName[24];
format(messtring, sizeof(messtring), "~w~]Server CO-OWNER] ~b~ %s(%d) ~w~has ~r~Joined ~w~Server",pName, playerid);
return GameTextForAll(messtring, 5000, 3 );
}
//Text OWNER
if(PlayerInfo[playerid][Level] >= 6) {
new messtring[128], pName[24];
format(messtring, sizeof(messtring), "~w~]Server OWNER] ~b~ %s(%d) ~w~has ~r~Joined ~w~Server",pName, playerid);
return GameTextForAll(messtring, 5000, 3 );
}
Error
Код HTML:
C:\Users\win7\Desktop\SATDM_v9.pwn(12109) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\win7\Desktop\SATDM_v9.pwn(12115) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\win7\Desktop\SATDM_v9.pwn(12121) : warning 219: local variable "pName" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Warnings.