House System errors
#1

Pawn code : http://pastebin.com/ShY1LgmY

Errors :

(43) : error 035: argument type mismatch (argument 1)
(47) : error 035: argument type mismatch (argument 1)
(49) : error 035: argument type mismatch (argument 1)
(57) : error 028: invalid subscript (not an array or too many subscripts): "arg0"
(57) : warning 215: expression has no effect
(57) : error 001: expected token: ";", but found "]"
(57) : error 029: invalid expression, assumed zero
(57) : fatal error 107: too many error messages on one line




7 Errors.
Reply
#2

Can anybody help mee ?
Reply
#3

Show us the code and lines there on?
Reply
#4

try to change this
pawn Код:
functionB0(arg0, arg1, arg2)
into
pawn Код:
functionB0(arg0[], arg1, arg2)
Reply
#5

Copy the code , paste in pawno , and you can see the lines
Reply
#6

AiRaLoKa , thanks for the code , now from 7 errors i've got 6 errors

(69) : error 035: argument type mismatch (argument 1)
(73) : error 028: invalid subscript (not an array or too many subscripts): "arg0"
(73) : warning 215: expression has no effect
(73) : error 001: expected token: ";", but found "]"
(73) : error 029: invalid expression, assumed zero
(73) : fatal error 107: too many error messages on one line
Reply
#7

Quote:
Originally Posted by Besar
Посмотреть сообщение
AiRaLoKa , thanks for the code , now from 7 errors i've got 6 errors

(69) : error 035: argument type mismatch (argument 1)
(73) : error 028: invalid subscript (not an array or too many subscripts): "arg0"
(73) : warning 215: expression has no effect
(73) : error 001: expected token: ";", but found "]"
(73) : error 029: invalid expression, assumed zero
(73) : fatal error 107: too many error messages on one line
oh god -,-

change
pawn Код:
function370(arg0, arg1)
into
pawn Код:
function370(arg0[], arg1[])
change
pawn Код:
function464(arg0, arg1, arg2)
into
pawn Код:
function464(arg0[], arg1, arg2)
change
pawn Код:
function784(arg0)
into
pawn Код:
function784(arg0[])
change
pawn Код:
functionEF4(arg0)
ingo
pawn Код:
functionEF4(arg0[])
change
pawn Код:
functionFD4(arg0, arg1, arg2)
into
pawn Код:
functionFD4(arg0[], arg1[], arg2[])
EDIT: there is still a lot of error, but i cant post it here -,-
it's to damn long
just do something like what i said. if you found something like strlen(arg), change the arg into arg[] on the callback (or function i think).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)