SA-MP Forums Archive
Gamemode error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Gamemode error (/showthread.php?tid=613382)



Gamemode error - ImTouchk - 27.07.2016

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


Re: Gamemode error - BoBiTza - 27.07.2016

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