04.03.2013, 11:29
can anyone help me so players can type the command one time only?
example:
/money
you already taked the money
example:
/money
you already taked the money
new bool:GotMoney[MAX_PLAYERS];
GotMoney[playerid] = false;
if(GotMoney[playerid]) return SendClientMessage(playerid, -1, "You already took the money.");
CMD:money(playerid, params[])
{
if(...)
GotMoney[playerid] = true;
return 1;
}