Gamemode error
#1

Hello, I've got to make a gamemode from start, but when compiling first time I got:
Code:
C:\Users\User\Desktop\GAMEMODE DE LA 0\gamemodes\bare.pwn(46) : error 021: symbol already defined: "pHouse"
C:\Users\User\Desktop\GAMEMODE DE LA 0\gamemodes\bare.pwn(67) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\User\Desktop\GAMEMODE DE LA 0\gamemodes\bare.pwn(67) : warning 215: expression has no effect
C:\Users\User\Desktop\GAMEMODE DE LA 0\gamemodes\bare.pwn(67) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\GAMEMODE DE LA 0\gamemodes\bare.pwn(67) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\GAMEMODE DE LA 0\gamemodes\bare.pwn(67) : fatal error 107: too many error messages on one line

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


5 Errors.
and these lines are:
46 -
Code:
	pHouse,
66 -
Code:
public LoadUser_data(playerid,name[],value[])
{
(( 66 is the bracket ))
67 -
Code:
	INI_Int("pPassword",pInfo[playerid][pPass]);
I think that gamemode is complety bugged, but who can help me please
It's ok with teamviewer/skype but too with reply here
Reply
#2

search for phouse if is defined in another place and check array pinfo if phouse is last delete " , "
Reply


Forum Jump:


Users browsing this thread: