[Help] Some errors on script.
#1

Hello, thanks for the people whos gonna help.
i just came back to script,and i wanna know what problem i have here.


Pictures :


1. The Errors'





2. The line :







------------


if you dont see :



The error's :

Quote:

pwn(30831) : error 017: undefined symbol "BizzInfo"
pwn(30831) : error 001: expected token: ";", but found "]"
pwn(30831) : error 029: invalid expression, assumed zero
pwn(30831) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.




The lines :


Quote:

CMDetprice(playerid, params[])
{
#pragma unused params
new string[256];
new businessname[256];
if(BizzInfo[GetPVarInt(playerid, "InBizz")][bType] == 1)
{
new price1 = BizzInfo[GetPVarInt(playerid, "InBizz")][bProductPrice1];
new price2 = BizzInfo[GetPVarInt(playerid, "InBizz")][bProductPrice2];
new price3 = BizzInfo[GetPVarInt(playerid, "InBizz")][bProductPrice3];
new price4 = BizzInfo[GetPVarInt(playerid, "InBizz")][bProductPrice4];


--Please answer,and help me!
--Have a nice new year ((Also happy))
Reply
#2

Код:
if(!BizzInfo[GetPVarInt(playerid, "InBizz")][bType] == 1);
Not sure, but U can try it
Reply
#3

Nope,still four errors
Reply
#4

Try this:

Код:
new bizz = GetPVarInt(playerid, "InBizz");
if(BizzInfo[bizz][bType] == 1) {
I'm curious as to how this would play out.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)