Help me to fix it ?
#1

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
    }
[/PAWN]
Reply
#2

Quote:
Originally Posted by Toxik
Посмотреть сообщение
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
}
That function? Describe its arguments
It missed them!
Reply
#3

pawn Код:
new pName[32];
GetPlayerName(playerid, pName, sizeof(pName);
if(strfind(pName, "[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
    }
Reply
#4

Quote:
Originally Posted by DarkLored
Посмотреть сообщение
pawn Код:
new pName[32];
GetPlayerName(playerid, pName, sizeof(pName);
if(strfind(pName, "[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
    }
They lack not only the brackets
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)