Need Help!
#1

Код:
C:\Users\User\Desktop\samp project\gamemodes\tes.pwn(40488) : error 017: undefined symbol "idx"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
1 Error.
PHP код:
else if(!strcmp(params"price"true5))
    {
        if(
sscanf(params"s[32]ii"paramsbizidinput)) return SendClientMessage(playeridCOLOR_WHITE"USAGE: /bedit price [bizid] [price]");
        if(!
BizInfo[bizid][bType]) return SendClientMessage(playeridCOLOR_GREY"Invalid business id.");
        if(
strcmp("Tidak ada"BizInfo[bizid][bOwner])) return SendClientMessage(playeridCOLOR_GREY"You can't edit the price of owned businesses.");
        
BizInfo[bizid][bPrice] = input;
        
format(stringsizeof(string), "ID: %d\n%s\n%s\nOwner: %s\nStatus: For Sale\nPrice: $%d"idxRBT(idx), BizInfo[idx][bMessage], BizInfo[idx][bOwner], BizInfo[bizid][bPrice]);
        
UpdateDynamic3DTextLabelText(BizInfo[bizid][bText], COLOR_WHITEstring);
        
format(stringsizeof(string), "AdmWarn: %s has set business ID %d's price to $%d."GetPlayerNameEx(playerid), bizidinput);
        
ABroadCast(COLOR_YELLOWstring4);
        
Log("logs/business.log"string);
    } 
Reply


Messages In This Thread
Need Help! - by audyantgtr - 19.05.2014, 01:50
Re: Need Help! - by JFF - 19.05.2014, 03:08
Re: Need Help! - by Rittik - 19.05.2014, 04:03

Forum Jump:


Users browsing this thread: 1 Guest(s)