2 ERORS :@
#1

it shows me eror in line
pawn Код:
new Roadblocks[MAX_ROADBLOCKS][rInfo];
eror
Код:
C:\Users\pc\Desktop\Beyond RPG v0.1.0\gamemodes\GAMEMOD.pwn(383) : error 017: undefined symbol "rInfo"
C:\Users\pc\Desktop\Beyond RPG v0.1.0\gamemodes\GAMEMOD.pwn(383) : error 009: invalid array size (negative, zero or out of bounds)
Reply
#2

rInfo is not defined / not a valid enum.
Reply
#3

enum rInfo
{
Test,//Do something here
Test,//do something here
}
new Roadblocks[MAX_ROADBLOCKS][rInfo];
Reply
#4

Quote:
Originally Posted by 3RoR
Посмотреть сообщение
it shows me eror in line
pawn Код:
new Roadblocks[MAX_ROADBLOCKS][rInfo];
eror
Код:
C:\Users\pc\Desktop\Beyond RPG v0.1.0\gamemodes\GAMEMOD.pwn(383) : error 017: undefined symbol "rInfo"
C:\Users\pc\Desktop\Beyond RPG v0.1.0\gamemodes\GAMEMOD.pwn(383) : error 009: invalid array size (negative, zero or out of bounds)
This must be used with an enum and remember to define Max_Roadblocks.

https://sampwiki.blast.hk/wiki/Keywords:Initialisers

-FalconX
Reply
#5

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)