Enumerations
#3

Quote:
Originally Posted by Stinged
Посмотреть сообщение
Shouldn't it be:
Код:
connectionData[something][crankname][1]
instead of
Код:
crankname[1]
I've been doing that, sorry, updated the original post.

I do that and get
Код:
C:\Users\Jack\Documents\SA-MP 0.3.7 R2\gamemodes\outback.pwn(670) : error 001: expected token: "}", but found "["
C:\Users\Jack\Documents\SA-MP 0.3.7 R2\gamemodes\outback.pwn(705) : error 017: undefined symbol "cbank"
Exact code im trying to do
pawn Код:
for(new i = 0; i < sizeof(connectionData[conID][cmaxranks]); i++)
                        {
                            format(str2, sizeof(str2), "%s\n%d %s", str2, i+!, connectionData[conID][crankname][i]);
                        }
but the errors within the enumeration
Reply


Messages In This Thread
Enumerations - by Jack_Leslie - 09.06.2016, 08:16
Re: Enumerations - by Stinged - 09.06.2016, 08:21
Re: Enumerations - by Jack_Leslie - 09.06.2016, 08:23
Re: Enumerations - by Stinged - 09.06.2016, 08:28
Re: Enumerations - by Konstantinos - 09.06.2016, 08:28
Re: Enumerations - by Jack_Leslie - 09.06.2016, 08:30
Re: Enumerations - by Jack_Leslie - 09.06.2016, 08:32
Re: Enumerations - by PrO.GameR - 09.06.2016, 09:01

Forum Jump:


Users browsing this thread: 2 Guest(s)