Problem with Foreach
#1

Buongiorno, signori.

Earlier today I had a problem that was somewhat unusual, well, at least with all the people I spoke to, no one had ever seen this problem, but come on.
I've always used the wonderful include Foreach, however, today I was compiling my gamemode without having made any changes and I got the famous 26 errors, then I thought it was a key problem, I checked the gamemode completely and found nothing, so I started remove some includes and when I removed the famous Foreach guess what? The mistakes are gone. However, I need to use this include and I do not know how to solve such a thing, I have already updated it, I have reached the codes that use it and nothing, could any of you give me a light related to this problem?

Grazie a tutti,
Raayzeck.
Reply
#2

Bonasera signore, che fai tu molto bene?


Please show us what errors do you get
Reply
#3

PHP код:
BPP.pwn(171) : error 010invalid function or declaration
BPP
.pwn(1004) : warning 219local variable "dia" shadows a variable at a preceding level
BPP
.pwn(1004) : warning 219local variable "mes" shadows a variable at a preceding level
BPP
.pwn(1004) : warning 219local variable "ano" shadows a variable at a preceding level
BPP
.pwn(1004) : warning 219local variable "hora" shadows a variable at a preceding level
BPP
.pwn(1004) : warning 219local variable "minuto" shadows a variable at a preceding level
BPP
.pwn(1004) : warning 219local variable "segundo" shadows a variable at a preceding level
BPP
.pwn(1081) : error 010invalid function or declaration
BPP
.pwn(1083) : error 010invalid function or declaration
BPP
.pwn(1084) : error 010invalid function or declaration
BPP
.pwn(1087) : error 021symbol already defined"getdate"
BPP.pwn(1089) : error 010invalid function or declaration
BPP
.pwn(1092) : error 021symbol already defined"BPPLogs"
BPP.pwn(1094) : error 021symbol already defined"format"
BPP.pwn(1095) : error 021symbol already defined"ABroadCast"
BPP.pwn(1097) : error 054unmatched closing brace ("}")
BPP.pwn(1098) : error 010invalid function or declaration
BPP
.pwn(1101) : error 021symbol already defined"BPPLogs"
BPP.pwn(1103) : error 021symbol already defined"format"
BPP.pwn(1104) : error 021symbol already defined"ABroadCast"
BPP.pwn(1106) : error 010invalid function or declaration
BPP
.pwn(1109) : error 021symbol already defined"BPPLogs"
BPP.pwn(1111) : error 021symbol already defined"format"
BPP.pwn(1112) : error 021symbol already defined"ABroadCast"
BPP.pwn(1114) : error 021symbol already defined"SendClientMessage"
BPP.pwn(1116) : error 021symbol already defined"KickBPP"
BPP.pwn(1118) : error 010invalid function or declaration
BPP
.pwn(1121) : error 021symbol already defined"BPPLogs"
BPP.pwn(1123) : error 021symbol already defined"format"
BPP.pwn(1124) : error 021symbol already defined"ABroadCast"
BPP.pwn(1126) : error 054unmatched closing brace ("}")
BPP.pwn(1127) : error 010invalid function or declaration 
When I solve the problem appears more. I tried changed my foreach include too, but don't receive results.
Reply
#4

I use with de YSI, and the brace match. It's very strange.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)