2 Error, please help :)
#1

Hi, I added new command for my script, but it's got 2 error.
Help, The error is
pawn Код:
C:\Users\ariefkyano\Desktop\Test RP\gamemodes\Respect4.pwn(78509) : error 033: array must be indexed (variable "inputtext")
C:\Users\ariefkyano\Desktop\Test RP\gamemodes\Respect4.pwn(78510) : error 033: array must be indexed (variable "inputtext")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
And The Line is:
pawn Код:
BusinessInfo[bizid][bProducts] += inputtext; <= Line 78509
            PlayerInfo[playerid][pCash] -= inputtext*20; <= Line 78510
Reply
#2

pawn Код:
strval(inputtext);
for the line 78509

and

pawn Код:
strval(inputtext)*20;
for Line 78510
Reply
#3

Quote:
Originally Posted by Romel
Посмотреть сообщение
pawn Код:
strval(inputtext);
for the line 78509

and

pawn Код:
strval(inputtext)*20;
for Line 78510
Thanks, +Rep for you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)