10.08.2012, 10:03
(
Последний раз редактировалось [EnErGyS]KING; 10.08.2012 в 10:04.
Причина: Line
)
Hi i have problem
pawn Код:
C:\Users\Paulius\Desktop\samp03e_svr_R2_win32\filterscripts\Z_AdminIsland.pwn(671) : error 017: undefined symbol "playerid"
C:\Users\Paulius\Desktop\samp03e_svr_R2_win32\filterscripts\Z_AdminIsland.pwn(696) : error 017: undefined symbol "playerid"
C:\Users\Paulius\Desktop\samp03e_svr_R2_win32\filterscripts\Z_AdminIsland.pwn(696) : error 029: invalid expression, assumed zero
C:\Users\Paulius\Desktop\samp03e_svr_R2_win32\filterscripts\Z_AdminIsland.pwn(696) : warning 215: expression has no effect
C:\Users\Paulius\Desktop\samp03e_svr_R2_win32\filterscripts\Z_AdminIsland.pwn(696) : error 001: expected token: ";", but found ")"
C:\Users\Paulius\Desktop\samp03e_svr_R2_win32\filterscripts\Z_AdminIsland.pwn(696) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
5 Errors.
pawn Код:
if(IsPlayerInRangeOfPoint(i,330,3883.1416,-1764.6523,120.3191)){
671 line:if(IsPlayerLuxAdminLevel(playerid,1)){
if(DEFENCE_MODE==1){ //autokill
SetPlayerHealth(i,0);
GameTextForPlayer(i,InIslandMessage2,4000,3);
return 1;}
pawn Код:
if(IsPlayerInRangeOfPoint(i,10,2948.2056,-1958.5729,8.6734)){
696 line: if(IsPlayerLuxAdminLevel(playerid,1)) && DEFENCE_MODE!=0){
GameTextForPlayer(i,RestrictedAreaWarning,3000,3);}
if((IsPlayerLuxAdminLevel(playerid, 1)) || (!IsPlayerLuxAdminLevel(playerid, 1) && DEFENCE_MODE==0)){
if(IsPlayerLuxAdminLevel(playerid,1));
if(GatesOpened==false){
OpenGates();
GatesOpened=true;
SetTimer("CloseGatesTM",7000,0);}}}