SA-MP Forums Archive
[GameMode] South Central Roleplay 0.20 - 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 0.20 (/showthread.php?tid=538107)

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


Re: South Central Roleplay 0.20 - BadScripter - 17.08.2017

What about the installation ?
How to get it working ?


Re: South Central Roleplay 0.20 - JustAName - 18.08.2017

To keep a the whole story short.
Nice script, have seen some bugs.
But they can simple be fixed.


Re: South Central Roleplay 0.20 - DutcherxD - 18.08.2017

Quote:
Originally Posted by JustAName
View Post
To keep a the whole story short.
Nice script, have seen some bugs.
But they can simple be fixed.
Fix the bugs and PM me the script than. :3


Re: South Central Roleplay 0.20 - cuber - 18.08.2017

Quote:
Originally Posted by DutcherxD
View Post
Fix the bugs and PM me the script than. :3
"0.21 v2 - bug fixes"


Respuesta: South Central Roleplay 0.20 - Miguelch1312 - 18.08.2017

Looks good, gonna try it later


Re: South Central Roleplay 0.20 - dionisak0s - 10.10.2017

Quote:
Originally Posted by R4nd4ll
Посмотреть сообщение
Uhhhh there is a weird bug.

When you create a new character after you register, When you click on the character.
Nothing happens, You will be stuck.
Go to "ResetStatics(playerid)" and change
Код:
PlayerData[playerid][pGender] = 1;
to
Код:
PlayerData[playerid][pGender] = 0;
Go to OnPlayerClickPlayerTextDraw and find the following code:
Код:
else if(playertextid == PlayerData[playerid][pTextdraws][22])
{
	if(!strlen(PlayerData[playerid][pBirthDate])) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: You must specify a birth date.");
	else if(!strlen(PlayerData[playerid][pOrigin])) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: You must specify an origin.");
	else
	{
		for(new i = 11; i < 23; i++) PlayerTextDrawHide(playerid, PlayerData[playerid][pTextdraws][i]);
				    
		switch (PlayerData[playerid][pGender])
		{
		case 1: ShowModelSelectionMenu(playerid, "Select Skin", MODEL_SELECTION_SKIN, g_aMaleSkins, sizeof(g_aMaleSkins), -16.0, 0.0, -55.0);
		case 2: ShowModelSelectionMenu(playerid, "Select Skin", MODEL_SELECTION_SKIN, g_aFemaleSkins, sizeof(g_aFemaleSkins), -16.0, 0.0, -55.0);
		}
	}
}
Add the following line under else if(!strlen(PlayerData[playerid][pOrigin]))
Код:
else if(PlayerData[playerid][pGender] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: You must specify an origin.");
Also find
Код:
PlayerData[playerid][pTextdraws][16] = CreatePlayerTextDraw(playerid, 271.000000, 169.000000, "~r~Gender:~w~ Male");
and change it to:
Код:
PlayerData[playerid][pTextdraws][16] = CreatePlayerTextDraw(playerid, 271.000000, 169.000000, "~r~Gender:~w~ Please specify...");



Re: South Central Roleplay 0.20 - Ylevol - 24.10.2017

Fantastic work on the script! I have just tested it and everything works perfectly, unless I have missed testing certain features.

There is this one thing I noticed, though: Create a business, buy it, use /bizstate (admin command) to sell it to the state, and the business will become glitched. Your max business limit won't decrease either, at least that's what happened to me.

Apart from that, I was curious how the crate system works. Does anybody mind detailing it briefly? Cheers!


Re: South Central Roleplay 0.20 - Ponga - 25.10.2017

Everything is perfect mate.


Re: South Central Roleplay 0.20 - GamezCEO - 25.10.2017

Cool script, thanks for sharing!


Re: South Central Roleplay 0.20 - BluePlayBG - 26.10.2017

How to make myself an admin?
I logged in the rcon and tried /makeadmin but It says that I don't have permissions to do that..


Re: South Central Roleplay 0.20 - Ylevol - 26.10.2017

Quote:
Originally Posted by BluePlayBG
Посмотреть сообщение
How to make myself an admin?
I logged in the rcon and tried /makeadmin but It says that I don't have permissions to do that..
I chose the lazy path by cancelling the following lines @ CMD:makeadmin

Код:
if (PlayerData[playerid][pAdmin] < 6)
	    return SendErrorMessage(playerid, "You don't have permission to use this command.");



Re: South Central Roleplay 0.20 - BluePlayBG - 26.10.2017

Can you put the fix of the register database. Because when I register, and log out, login again, I need to set my DOB and location again..


Re: South Central Roleplay 0.20 - langit - 12.12.2017

billboard bug

Код:
[20:39:22] [debug] Run time error 4: "Array index out of bounds"
[20:39:22] [debug]  Attempted to read/write array element at negative index -1
[20:39:22] [debug] AMX backtrace:
[20:39:22] [debug] #0 0039dab8 in public dialog_MyBillboardMessage (playerid=0, response=1, listitem=-1, inputtext[]=@013bcf14 "naon atuh") at C:\Users\xxx\Desktop\server\sc 0.3.7\gamemodes\roleplay.pwn:28408
[20:39:22] [debug] #1 native CallLocalFunction () from samp-server.exe
[20:39:22] [debug] #2 00038a80 in public OnDialogResponse (playerid=0, dialogid=32700, response=1, listitem=-1, inputtext[]=@013bceec "test mesageeeee") at C:\Users\hamid\Desktop\server\sc mod 0.3.7\pawno\include\easyDialog.inc:131
[21:09:18] [part] Dum_Lexia has left the server (0:1)



Re: South Central Roleplay 0.20 - SquirrelLSRP - 12.12.2017

This is a great gamemode for it's time. Good job.


Re: South Central Roleplay 0.20 - NeXeR - 05.01.2018

i Created the data base and selected sql but when i run the game mod it has error : Connection To "127.0.0.1" failed! Please check the connection settings...

And Sorry For My English im Iranian


Re: South Central Roleplay 0.20 - iConvict - 10.02.2018

Feel free to add me on discord if any assistance is needed. Jaja#5320


Re: South Central Roleplay 0.20 - Libbyphay - 11.03.2018

Help /lock vehicle working, but unlock no working.

HTML Code:
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))
	{
		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);
		}
	}
}



Re: South Central Roleplay 0.20 - NichWell - 31.08.2018

Quote:
Originally Posted by NichWell
View Post
There were some problems with dynamic fractions and the rest of the dynamic. What is the problem, cleared the entire database, and when creating a faction on the server it is given ID 0, in the database it is listed as ID 1, because it costs A_I, and the account starts with one, and when the player's account is saved, if the faction on server 0, And in base 1, he will retain the fraction 0, which does not exist. Also with some works and other dynamic, the first object gets to zero coordinates, and the next one is already visible in its place. I do not know, I just had one such problems, or many have such problems. I apologize for my English, I am a resident of Ukraine and do not know him very well.
UUPPPP


Re: South Central Roleplay 0.20 - darkhunter332 - 31.08.2018

Better to use the newest version of South Central 1.0


Re: South Central Roleplay 0.20 - benjaminjones - 01.09.2018

Quote:
Originally Posted by darkhunter332
View Post
Better to use the newest version of South Central 1.0
thank u, so kind