17.02.2015, 21:11
Thanks alot guys, +REP.
But could you please solve this problem.
The function worked fine for changing the business' name.
But not working fine in here:
But could you please solve this problem.
The function worked fine for changing the business' name.
But not working fine in here:
PHP код:
if(BusinessInfo[id][bLocked]==1)
{
BusinessInfo[id][bLocked]=0;
GameTextForPlayer(playerid, "Biz ~g~unlocked!", 5000, 3);
ChangeBizInfo(id,BusinessInfo[id][bName],playerid);
}
else if(BusinessInfo[id][bLocked]==0)
{
BusinessInfo[id][bLocked]=1;
GameTextForPlayer(playerid, "Biz ~r~locked!", 500, 3);
ChangeBizInfo(id,BusinessInfo[id][bName],playerid);
}
Код:
C:\Users\moka\Desktop\PROG\03z\gamemodes\test.pwn(779) : error 047: array sizes do not match, or destination array is too small C:\Users\moka\Desktop\PROG\03z\gamemodes\test.pwn(785) : error 047: array sizes do not match, or destination array is too small Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.