30.01.2011, 01:31
pawn Код:
//
if(listitem == 14)
{
if(GetPlayerMoney(playerid) >= 5000)
{
PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash]-5000;
GivePlayerMoney(playerid,-10000);
GivePlayerGun(playerid, 43);
GameTextForPlayer(playerid,"~r~-$10000", 5000, 1);
SendClientMessage(playerid, COLOR_WHITE," You purchased a camera");
GiveBizMoney(playerid, 5000);
return 1;
//<====== Here's missing bracket as well
}