[GameMode] South Central Roleplay 1.0

So, how we can unbanned our chars from phpmyadmin? I've tried and can't.
I've used my rcon login from localhost, then my 127.0.0.1 got banned IP, can't register new character.
Reply

Quote:
Originally Posted by AvicennaRabama
Посмотреть сообщение
So, how we can unbanned our chars from phpmyadmin? I've tried and can't.
I've used my rcon login from localhost, then my 127.0.0.1 got banned IP, can't register new character.
click on the Blacklist column you'll be able to unban yourself all the ip's are in there
Reply

Quote:
Originally Posted by MyUndiesSmell
Посмотреть сообщение
Код:
CMD:lock(playerid, params[])
{
	static
	    id = -1;

	if (!IsPlayerInAnyVehicle(playerid) && (id = (House_Inside(playerid) == -1) ? (House_Nearest(playerid)) : (House_Inside(playerid))) != -1 && House_IsOwner(playerid, id))
	{
		if (!HouseData[id][houseLocked])
		{
			HouseData[id][houseLocked] = true;
			House_Save(id);

			ShowPlayerFooter(playerid, "You have ~r~locked~w~ your house!");
			PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
		}
		else
		{
			HouseData[id][houseLocked] = false;
			House_Save(id);

			ShowPlayerFooter(playerid, "You have ~g~unlocked~w~ your house!");
			PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
		}
	}
	else if (!IsPlayerInAnyVehicle(playerid) && (id = (Business_Inside(playerid) == -1) ? (Business_Nearest(playerid)) : (Business_Inside(playerid))) != -1)
	{
		if (Business_IsOwner(playerid, id))
		{
			if (!BusinessData[id][bizLocked])
			{
				BusinessData[id][bizLocked] = true;

				Business_Refresh(id);
				Business_Save(id);

				ShowPlayerFooter(playerid, "You have ~r~locked~w~ the business!");
				PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
			}
  			else
			{
				BusinessData[id][bizLocked] = false;

				Business_Refresh(id);
				Business_Save(id);

				ShowPlayerFooter(playerid, "You have ~g~unlocked~w~ the business!");
				PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
			}
		}
	}
	else if (!IsPlayerInAnyVehicle(playerid) && (id = (Entrance_Inside(playerid) == -1) ? (Entrance_Nearest(playerid)) : (Entrance_Inside(playerid))) != -1)
	{
		if (strlen(EntranceData[id][entrancePass]))
		{
			Dialog_Show(playerid, EntrancePass, DIALOG_STYLE_INPUT, "Entrance Pass", "Please enter the password for this entrance:", "Submit", "Cancel");
		}
	}
	else if ((id = Car_Nearest(playerid)) != -1)
	{
	    static
	        engine,
	        lights,
	        alarm,
	        doors,
	        bonnet,
	        boot,
	        objective;

	    GetVehicleParamsEx(CarData[id][carVehicle], engine, lights, alarm, doors, bonnet, boot, objective);

	    if (Car_IsOwner(playerid, id) || (PlayerData[playerid][pFaction] != -1 && CarData[id][carFaction] == GetFactionType(playerid)))
	    {
			if (!CarData[id][carLocked])
			{
				CarData[id][carLocked] = true;
				Car_Save(id);

				ShowPlayerFooter(playerid, "You have ~r~locked~w~ the vehicle!");
				PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);

				SetVehicleParamsEx(CarData[id][carVehicle], engine, lights, alarm, 1, bonnet, boot, objective);
			}
			else
			{
				CarData[id][carLocked] = false;
				Car_Save(id);

				ShowPlayerFooter(playerid, "You have ~g~unlocked~w~ the vehicle!");
				PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);

				SetVehicleParamsEx(CarData[id][carVehicle], engine, lights, alarm, 0, bonnet, boot, objective);
			}
		}
	}
	else SendErrorMessage(playerid, "You are not in range of anything you can lock.");
	return 1;
}
try using a single command for locking/unlocking your car you can use this one or use it as a reference hope it works

Код:
CMD:carkeys(playerid, params[])
{
	static
	    id1;

	if ((id1 = Car_Nearest(playerid)) != -1)
	{
	    static
	        engine,
	        lights,
	        alarm,
	        doors,
	        bonnet,
	        boot,
	        objective;

	    GetVehicleParamsEx(CarData[id1][carVehicle], engine, lights, alarm, doors, bonnet, boot, objective);

	    if (Car_IsOwner(playerid, id1) || (PlayerData[playerid][pFaction] != -1 && CarData[id1][carFaction] == GetFactionType(playerid)))
	    {
			if (!CarData[id1][carLocked])
			{
				CarData[id1][carLocked] = true;
				Car_Save(id1);

				ShowPlayerFooter(playerid, "You have ~r~locked~w~ the vehicle!");
				PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);

				SetVehicleParamsEx(CarData[id1][carVehicle], engine, lights, alarm, 1, bonnet, boot, objective);
			}
			else
			{
				CarData[id1][carLocked] = false;
				Car_Save(id1);

				ShowPlayerFooter(playerid, "You have ~r~unlocked~w~ the vehicle!");
				PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);

				SetVehicleParamsEx(CarData[id1][carVehicle], engine, lights, alarm, 0, bonnet, boot, objective);
			}
		}
	}
	return 1;
}
Reply

Quote:
Originally Posted by tboysamp
Посмотреть сообщение
click on the Blacklist column you'll be able to unban yourself all the ip's are in there
But it just can remove or empty all of them. I just want to edit my ip clear from the blacklist. On the MySQL, there's no choice for "edit" table like the other database. It just can "Empty" all of them. Why?
Reply

How can I make command ingame like /bizowner to show me bussiness owner..can anyone help me?
Reply

Quote:
Originally Posted by Connor Smith
Посмотреть сообщение
How can I make command ingame like /bizowner to show me bussiness owner..can anyone help me?
Its easy to make the cmd. I might do it this weekend, If I have the time to sit on the PC.
Reply

Nice job!!
Reply

Awesome, keep up the good work
Reply

Good to see this is still going strong.
Reply

Amazing script, of course it's from Emmet.
Reply

Quote:
Originally Posted by REVO-RP
View Post
Amazing script, of course it's from Emmet.
Emmet is the original creator, I've done the updates.
Reply

Quote:
Originally Posted by benjaminjones
View Post
Emmet is the original creator, I've done the updates.
Good job on the updates.
Reply

Quote:
Originally Posted by REVO-RP
View Post
Good job on the updates.
Thanks mate.
Reply

Why it can't be saved the user when the player /q just within per-seconds?
Reply

Quote:
Originally Posted by AvicennaRabama
View Post
Why it can't be saved the user when the player /q just within per-seconds?
You what mate?
Reply

Quote:
Originally Posted by AvicennaRabama
View Post
Why it can't be saved the user when the player /q just within per-seconds?
u wot m8
Reply

Will there be new updates coming to this gamemode?
Reply

Feel free to suggest people, I might take some of the suggestions into consideration.
Reply

This version is a bit tweaked but still has most bug's
Reply

So happy to see you placing effort into this script, I've seen a few servers flourish from it's use and I hope to see a few pop up here and there again!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)