Disable robbank
#1

I want to make a command to disable the robbank but i'm failing

Код:
CMD:disablerobbank(playerid, params[])

{
	if (!(PlayerInfo[playerid][pAdmin] >= 1337))

	{
		SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command");
		return 1;

	}
	TimeAfterBankJob = TIME_BETWEEN_BANKJOBS;
	SendClientMessage(playerid, COLOR_WHITE, "Bank robbery is now disabled");
	return 1;

}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)