SA-MP Forums Archive
[Help] Multiple confusing errors, I cant fix... - 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: [Help] Multiple confusing errors, I cant fix... (/showthread.php?tid=458053)



[Help] Multiple confusing errors, I cant fix... - Jamcraftadam - 14.08.2013

Hello, Im getting errors with this line, listed below. I cannot fix it, And I have tried many methods

Код:
 		new h = PlayerInfo[playerid][pPhousekey];
Код:
G:\Roleplay Server\gamemodes\rp.pwn(440) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
G:\Roleplay Server\gamemodes\rp.pwn(440) : warning 215: expression has no effect
G:\Roleplay Server\gamemodes\rp.pwn(440) : error 001: expected token: ";", but found "]"
G:\Roleplay Server\gamemodes\rp.pwn(440) : error 029: invalid expression, assumed zero
G:\Roleplay Server\gamemodes\rp.pwn(440) : fatal error 107: too many error messages on one line



Re: [Help] Multiple confusing errors, I cant fix... - [XST]O_x - 14.08.2013

Show us your enum and PlayerInfo variable


Re: [Help] Multiple confusing errors, I cant fix... - Edix - 14.08.2013

Can you show us some other lines of code? like from 435-445