error 029: invalid expression, assumed zero
#1

Код:
}
	if((playerDB[killerid][specialybe] == 1 || playerDB[killerid][specialybe] == 10)
   	{ //his line error
		if(nesaginklus[playerid] == 1)
		{
			GivePlayerMoneyA(killerid, 5000);
			playerDB[killerid][stazasteisesaugos] +=10;
			SendClientMessage(killerid, RED,"Uћ ћaidėjo kuris neљėsi ginklų siuntą nuћudymą gavote 5.000 Ђ ir 10 teisėsaugos staћo");
			nesaginklus[playerid] = 0;
		}
error: error 029: invalid expression, assumed zero
Reply
#2

if((playerDB[killerid][specialybe] == 1 || playerDB[killerid][specialybe] == 10)
You have two opening brackets and only need one.
Reply
#3

pawn Код:
if((playerDB[killerid][specialybe] == 1 || playerDB[killerid][specialybe] == 10)
//change to
if(playerDB[killerid][specialybe] == 1 || playerDB[killerid][specialybe] == 10)
Reply
#4

Thanks
Reply
#5

Quote:
Originally Posted by Misiur
Посмотреть сообщение
pawn Код:
if((playerDB[killerid][specialybe] == 1 || playerDB[killerid][specialybe] == 10)
//change to
if(playerDB[killerid][specialybe] == 1 || playerDB[killerid][specialybe] == 10)
Don't see the point in handing him the code. How will he learn? The majority of the forums just copy and paste code handed to them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)