[Help-me] Errors Compilation Pawno
#1

Hello, help-me? errors compilation pawno, After putting the command / admins started to give this error, can you help me the solution?

I took command of another GameMode, I'm Brazilian using Translator.

Errors below

__________________________________________________ ________________________________________________

C:\Users\ASUS\Downloads\BPL\gamemodes\BPL.pwn(214) : error 017: undefined symbol "foreach"
C:\Users\ASUS\Downloads\BPL\gamemodes\BPL.pwn(216) : error 017: undefined symbol "PlayerInfo"
C:\Users\ASUS\Downloads\BPL\gamemodes\BPL.pwn(216) : error 017: undefined symbol "i"
C:\Users\ASUS\Downloads\BPL\gamemodes\BPL.pwn(216) : error 029: invalid expression, assumed zero
C:\Users\ASUS\Downloads\BPL\gamemodes\BPL.pwn(216) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

__________________________________________________ ________________________________________________



Give the error when I put the command


Command's:

http://imgur.com/a/kmi76

Solve for me there
Reply
#2

You don't have foreach include so use this instead
Код:
for(new i; i < MAX_PLAYERS; i++)
And the second error is that you don't have defined PlayerInfo. So instead of this you should have another variable defined replace PlayerInfo to that one, try pInfo most scripters use that
Reply
#3

This is why you don't just copy and paste things from one gamemode to another, it isn't plug and play.
Reply
#4

@cool How can you contact me? For you help me in this I do not know how to pawno right
Reply
#5

Quote:
Originally Posted by marcelomacsantos
Посмотреть сообщение
@cool How can you contact me? For you help me in this I do not know how to pawno right
Instead of contacting me post you problem in this section and get explained answer.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)