SA-MP Forums Archive
[GameMode] South Central Roleplay 1.0 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] South Central Roleplay 1.0 (/showthread.php?tid=609992)

Pages: 1 2 3 4 5 6 7 8 9 10 11


Re: South Central Roleplay 1.0 - benjaminjones - 13.09.2016

Quote:
Originally Posted by YoDawg
Посмотреть сообщение
Hey, how can I fix the bug where when I register a character and try to press the character's name on the dialog, it doesn't seem to respond and I can't basically login. Any help would be appreciated, thank you.
This has been fixed in the 1.4 version. It was a simple fix with the database.


Re: South Central Roleplay 1.0 - Max_Andolini - 13.09.2016

Quote:
Originally Posted by benjaminjones
Посмотреть сообщение
This has been fixed in the 1.4 version. It was a simple fix with the database.
When release?


Re: South Central Roleplay 1.0 - YoDawg - 14.09.2016

Quote:
Originally Posted by benjaminjones
Посмотреть сообщение
This has been fixed in the 1.4 version. It was a simple fix with the database.
Alright, can't wait. Thanks for the answer.


Re: South Central Roleplay 1.0 - Jmrz96 - 17.09.2016

Because I skip this error uploading the database ?


CREATE TABLE IF NOT EXISTS `accounts` (
`ID` int(12) NOT NULL AUTO_INCREMENT,
`Username` varchar(24) DEFAULT NULL,
`Password` varchar(129) DEFAULT NULL,
`RegisterDate` varchar(36) DEFAULT NULL,
`LoginDate` varchar(36) DEFAULT NULL,
`IP` varchar(16) DEFAULT 'n/a',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1


Re: South Central Roleplay 1.0 - Jmrz96 - 19.09.2016

HELP ME


Re: South Central Roleplay 1.0 - Sykora - 24.10.2016

Can someone upload the whole SAMP Server with working server.cfg and plugins?

Would be really great.


Re: South Central Roleplay 1.0 - YoDawg - 25.10.2016

Quote:
Originally Posted by Sykora
Посмотреть сообщение
Can someone upload the whole SAMP Server with working server.cfg and plugins?

Would be really great.
Everything works, the server.cfg needs to be edited but it's easy, please do not interact with this script if you can't handle simple things. Start with something more simple.


Re: South Central Roleplay 1.0 - CompSpud - 14.01.2017

Anyone got a full linux setup with this or at least provide the plugins/links?

I cant seem to be able to get it to compile. Error after error


Re: South Central Roleplay 1.0 - DJ_Shocker - 18.01.2017

Quote:
Originally Posted by CompSpud
Посмотреть сообщение
Anyone got a full linux setup with this or at least provide the plugins/links?

I cant seem to be able to get it to compile. Error after error
Working for me on Linux, no errors, and I've been editing the script for several weeks now. Check your plugins, make sure they're the right version


Re: South Central Roleplay 1.0 - SerbanRobert - 21.01.2017

I can't find eSelection include.


Re: South Central Roleplay 1.0 - 4D1L - 21.01.2017

Quote:
Originally Posted by SerbanRobert
Посмотреть сообщение
I can't find eSelection include.
You can find the missing includes from the link on this thread.


Re: South Central Roleplay 1.0 - Pearson - 22.01.2017

Hello. Today i started testing this update so i have only one thing to tell u. when i'm buying something in 24/7 or carshop or anywere Server is turning off.


Re: South Central Roleplay 1.0 - Wahyu33 - 26.01.2017

where do I get the version 1.4? I hope you add Dynamic Rental House, vehicles and Farming Job, workshop system, Family


Re: South Central Roleplay 1.0 - PingID - 29.01.2017

Quote:
Originally Posted by Wahyu33
Посмотреть сообщение
where do I get the version 1.4? I hope you add Dynamic Rental House, vehicles and Farming Job, workshop system, Family
are you kidding me? lol


Re: South Central Roleplay 1.0 - Wahyu33 - 31.01.2017

Quote:
Originally Posted by PingID
Посмотреть сообщение
are you kidding me? lol
why?


Re: South Central Roleplay 1.0 - MyUndiesSmell - 15.02.2017

The /lock command is bugged. Anyone know how to fix it? It only works inside and outside of the vehicle it won't work.


Re: South Central Roleplay 1.0 - Djean - 16.02.2017

Quote:
Originally Posted by MyUndiesSmell
Посмотреть сообщение
The /lock command is bugged. Anyone know how to fix it? It only works inside and outside of the vehicle it won't work.
Sure, can I see the command line.


Re: South Central Roleplay 1.0 - MyUndiesSmell - 16.02.2017

Quote:
Originally Posted by Djean
Посмотреть сообщение
Sure, can I see the command line.
Код:
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;
}



Re: South Central Roleplay 1.0 - MyUndiesSmell - 19.02.2017

Anyone know how to fix the car bug where it won't let you unlock your car from the OUTSIDE but inside the car it allows you to lock/unlock it.


Re: South Central Roleplay 1.0 - Simil - 03.03.2017

I have an error. Like this :
Код:
E:\Game\San Andreas Multiplayer\gamemodes\RolePlay.pwn(46) : fatal error 100: cannot read from file: "eSelection"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.