Will this work
#3

first ,make that a boolean. (bool)

then heres the command

Код:
if (strcmp("/c4buy", cmdtext, true, 10) == 0)
	{
	if(C4BUY[playerid] == true) return SendClientMessage(playerid,0xFF0000AA,"You already have one!");
    C4BUY[playerid] = true;
    SendClientMessage(playerid,0xFF0000AA,"Bought.");
		return 1;
	}
Reply


Messages In This Thread
Will this work - by JoeDaDude - 14.06.2009, 22:28
Re: Will this work - by Weirdosport - 14.06.2009, 22:31
Re: Will this work - by CJ101 - 14.06.2009, 22:32
Re: Will this work - by JoeDaDude - 14.06.2009, 22:35

Forum Jump:


Users browsing this thread: 1 Guest(s)