Damn, what's wrong now? Array index...
#3

Thanks for that link. I found what the problem was. When I placed "new Faction1[Faction1]" I didn't set the array size.


This is how it looks now, gonna test it IG now.
// FACTION VARIABLES:
new Faction1[100][fFaction1];
new Faction2[100][fFaction2];

Also, how to get rid of a following warning?
Код:
C:\Users\Kreso\Desktop\SAMP Server\gamemodes\GGRP.pwn(15) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYERS")
I set it to be 200
Reply


Messages In This Thread
Damn, what's wrong now? Array index... - by Outcast - 10.01.2011, 22:30
Re: Damn, what's wrong now? Array index... - by Rizard - 10.01.2011, 22:50
Re: Damn, what's wrong now? Array index... - by Outcast - 10.01.2011, 23:16
Re: Damn, what's wrong now? Array index... - by Rizard - 10.01.2011, 23:55
Re: Damn, what's wrong now? Array index... - by John_F - 11.01.2011, 00:05
Re: Damn, what's wrong now? Array index... - by Outcast - 11.01.2011, 00:19
Re: Damn, what's wrong now? Array index... - by JaTochNietDan - 11.01.2011, 01:04
Re: Damn, what's wrong now? Array index... - by _rAped - 11.01.2011, 01:58
Re: Damn, what's wrong now? Array index... - by Outcast - 11.01.2011, 05:32
Re: Damn, what's wrong now? Array index... - by Rizard - 11.01.2011, 10:01

Forum Jump:


Users browsing this thread: 4 Guest(s)