Error with dialog.
#6

It was the } brackets i was talking about, with out them it would look like this;
Код:
if(PlayerInfo[playerid][pJob] != 12)
{
SendClientMessage(playerid, COLOR_RED, "ERROR: Gun Dealer's Only!");
if(PlayerInfo[playerid][pCash] < 10000)
{
SendClientMessage(playerid, COLOR_RED, "ERROR: Not enough money!");
if(materials[playerid] >= 10)
{
SendClientMessage(playerid, COLOR_RED, "ERROR: You already have maximum supplies!");
But meh


and @ case's, i usally use listitem, but, would that actually effect performance?
Reply


Messages In This Thread
Error with dialog. - by iLcke - 05.10.2010, 03:13
Re: Error with dialog. - by Caine Toth - 05.10.2010, 03:40
Re: Error with dialog. - by iLcke - 05.10.2010, 03:45
Re: Error with dialog. - by iLcke - 05.10.2010, 03:49
Re: Error with dialog. - by iFriSki - 05.10.2010, 03:52
Re: Error with dialog. - by iLcke - 06.10.2010, 03:12

Forum Jump:


Users browsing this thread: 1 Guest(s)