A little help please.
#1

PHP код:
C:\Users\TaLhA XIV\Desktop\Pawno scripter\filterscripts\hello.pwn(49) : error 017undefined symbol "MAX_HOUSES"
C:\Users\TaLhA XIV\Desktop\Pawno scripter\filterscripts\hello.pwn(49) : error 009invalid array size (negativezero or out of bounds)
C:\Users\TaLhA XIV\Desktop\Pawno scripter\filterscripts\hello.pwn(112) : error 017undefined symbol "MAX_HOUSES"
C:\Users\TaLhA XIV\Desktop\Pawno scripter\filterscripts\hello.pwn(128) : warning 217loose indentation
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
3 Errors

The error line:

PHP код:
new HouseInfo[MAX_HOUSES][hInfo]; 
Please help.
Reply
#2

add this
pawn Код:
#define MAX_HOUSES 111 //edit the number what you want
Reply
#3

You are lacking constant. Add somewhere at the top of script
pawn Код:
#define MAX_HOUSES 100
Reply
#4

You forgot to define MAX_HOUSES.

like that:

pawn Код:
#define MAX_HOUSES 128
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)