How to fix These error's?
#1

Quote:

C:\Users\Administrator\Downloads\Compressed\Base Empty MySql GM\Server\gamemodes\CLEANGM.pwn(2068 ) : error 021: symbol already defined: "PlayerInfo"
C:\Users\Administrator\Downloads\Compressed\Base Empty MySql GM\Server\gamemodes\CLEANGM.pwn(2912) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
C:\Users\Administrator\Downloads\Compressed\Base Empty MySql GM\Server\gamemodes\CLEANGM.pwn(2912) : warning 215: expression has no effect
C:\Users\Administrator\Downloads\Compressed\Base Empty MySql GM\Server\gamemodes\CLEANGM.pwn(2912) : error 001: expected token: ";", but found "]"
C:\Users\Administrator\Downloads\Compressed\Base Empty MySql GM\Server\gamemodes\CLEANGM.pwn(2912) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Downloads\Compressed\Base Empty MySql GM\Server\gamemodes\CLEANGM.pwn(2912) : fatal error 107: too many error messages on one line

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


5 Errors.

Line 2068
Quote:

new PlayerInfo[MAX_PLAYERS][pInfo];

Line 2912
Quote:

if(PlayerInfo[playerid][pAdmin] >= 2 || playerid == MAX_PLAYERS)

Reply
#2

Код:
new PlayerInfo[MAX_PLAYERS][pInfo];
is defined 2 times in your script so, simply delete one.
Reply
#3

Quote:
Originally Posted by Hostskool
Посмотреть сообщение
Код:
new PlayerInfo[MAX_PLAYERS][pInfo];
is defined 2 times in your script so, simply delete one.
Did you mean "#define Playerinfo" ?
Reply
#4

No, he mean that yhere are 2 lines that say new PlayerInfo[MAX_PLAYERS][pInfo];
Reply
#5

Quote:
Originally Posted by Don_Cage
Посмотреть сообщение
No, he mean that yhere are 2 lines that say new PlayerInfo[MAX_PLAYERS][pInfo];
im found this with one line can't compiler ! Help me pls
Reply
#6

You already Used PlayerInfo[MAX_PLAYERS][pInfo] 2 times, thats what makes the error.

+

Can you post several lines after line 2912 so that i can help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)