23.08.2015, 15:58
pawn Код:
C:\Users\CraTzy\Desktop\DayZ\filterscripts\House.pwn(100) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\CraTzy\Desktop\DayZ\filterscripts\House.pwn(101) : error 017: undefined symbol "playerid"
C:\Users\CraTzy\Desktop\DayZ\filterscripts\House.pwn(101) : warning 215: expression has no effect
C:\Users\CraTzy\Desktop\DayZ\filterscripts\House.pwn(101) : error 020: invalid symbol name ""
C:\Users\CraTzy\Desktop\DayZ\filterscripts\House.pwn(101) : warning 215: expression has no effect
C:\Users\CraTzy\Desktop\DayZ\filterscripts\House.pwn(101) : error 001: expected token: ";", but found ")"
C:\Users\CraTzy\Desktop\DayZ\filterscripts\House.pwn(101) : fatal error 107: too many error messages on one line
Lines
pawn Код:
new Name[32];
GetPlayerName(playerid, Name, sizeof(Name);
if(strfind(Name, "[GC]CraTzy", true))
CreateEnter("{FFFFFF}[ {00FF00}[GC]CraTzy{FFFFFF}]\n {FF0000}Do Not {00FF00} Disturb", -2124.2676,2673.2573,158.5540, -2109.9573,2701.8477,148.9961,0); //GC hub
}