SA-MP Forums Archive
[GameMode] [GM]Los Angeles Roleplay [OLD THREAD] - 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] [GM]Los Angeles Roleplay [OLD THREAD] (/showthread.php?tid=98073)

Pages: 1 2 3 4 5


Re: [GM]Los Angeles Roleplay - [IB]Scorcher - 16.05.2009

Quote:
Originally Posted by Andron
Its just too lame! Hoodstar, you didnt script nothing! 99 % script is scripted by Eliis.
Oh dude you added 2 cop car. Wow nice you scripted it.
You might put your Credits for that Project Reality RP script but not this.
THIS IS ELIIS SKRIPT!
Oh, didnt I? Can you explain the spec system, the house system, the biz system, the new factions?
I actually did edit alot of shit in there.


Re: [GM]Los Angeles Roleplay - Peter_Corneile - 17.05.2009

Hey i am using LARP script for some time for my server and me and other players crash very often and when they relog , they spawn at the place of crash and crash again ..... The server has many crash points ... Does anybody know what the problem is ?


Re: [GM]Los Angeles Roleplay - [IB]Scorcher - 17.05.2009

Quote:
Originally Posted by Peter_Corneile
Hey i am using LARP script for some time for my server and me and other players crash very often and when they relog , they spawn at the place of crash and crash again ..... The server has many crash points ... Does anybody know what the problem is ?
Too many objects?


Re: [GM]Los Angeles Roleplay - Peter_Corneile - 17.05.2009

I use Mido Stream even then it will crash ?


Re: [GM]Los Angeles Roleplay - NeRoSiS - 17.05.2009

Quote:
Originally Posted by Peter_Corneile
I use Mido Stream even then it will crash ?
Use xStreamer if you have a lot as it only loads up to 200, it doesnt depend on distance just bnearest 200.


Re: [GM]Los Angeles Roleplay - basicllsw - 17.05.2009

I'm 1 problems with this gamemode


In sometime when fill gas /fill is not active

player is freeze in gas station is long time but on server is restart function is active agian


sorry for mybad english thanks




Re: [GM]Los Angeles Roleplay - T.I. - 17.05.2009

Hmm, I dunno what happens, but when I use this script, it works too damn slowly...
What to do to make this running faster?


Re: [GM]Los Angeles Roleplay - kony1994 - 17.05.2009

hey
i have a question to the scripter.
iґll open a server with this larp script, but the problem is, i will the larp script change to Las Venturas, is there an edit?
thankyou for answer
kony

PS: sry for my very bad english


Re: [GM]Los Angeles Roleplay - shady91 - 18.05.2009

nope but it wouldnt take to long to move it all over


Re: [GM]Los Angeles Roleplay - Jewsus - 18.05.2009

So i have alot of problems with this
/ta says it cuffs the person but it doesent and you gotta do /drag and then cuff the person
then it stopped working
so i tried re compiling it
says it cant read somthing about STRING


Re: [GM]Los Angeles Roleplay - cristofer - 18.05.2009

Quote:
Originally Posted by Jewsus
So i have alot of problems with this
/ta says it cuffs the person but it doesent and you gotta do /drag and then cuff the person
then it stopped working
so i tried re compiling it
says it cant read somthing about STRING
Код:
 if(strcmp(cmd, "/drag", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
			if(IsACop(playerid))
			{
			  tmp = strtok(cmdtext, idx);
				if(!strlen(tmp)) {
					SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drag [Playerid/PartOfName]");
					return 1;
				}
				giveplayerid = ReturnUser(tmp);
			  if(IsPlayerConnected(giveplayerid))
				{
				  if(giveplayerid != INVALID_PLAYER_ID)
				  {
				    if(gTeam[giveplayerid] == 2 || IsACop(giveplayerid))
				    {
				      SendClientMessage(playerid, COLOR_GREY, "  You can't drag Cops !");
					    return 1;
				    }
					  if(DragOff[giveplayerid] > 0)
					  {
					    SendClientMessage(playerid, COLOR_GREY, "  Player already being dragged!");
					    return 1;
					  }
						if (ProxDetectorS(3.0, playerid, giveplayerid))
						{
     					  if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "You cannot drag yourself!"); return 1; }
						    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
								GetPlayerName(playerid, sendername, sizeof(sendername));
						    format(string, sizeof(string), "* You are being by %s, untill he stops.", sendername);
								SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
								format(string, sizeof(string), "* You are dragging %s, untill you stop.", giveplayer);
								SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
								format(string, sizeof(string), "* %s starts dragging %s.", sendername ,giveplayer);
								ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
								TogglePlayerControllable(giveplayerid, 0);
								DragOff[giveplayerid] = playerid;

						}
						else
						{
						  SendClientMessage(playerid, COLOR_GREY, "  That player is not near you !");
						  return 1;
						}
					}
				}
				else
				{
				  SendClientMessage(playerid, COLOR_GREY, "  That player is Offline !");
				  return 1;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "  You are not a Cop / FBI / National Guard!");
			}
		}
		return 1;
	}
    if(strcmp(cmd, "/stopdrag", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
			if(IsACop(playerid))
			{
			  tmp = strtok(cmdtext, idx);
				if(!strlen(tmp)) {
					SendClientMessage(playerid, COLOR_WHITE, "USAGE: /stopdrag [Playerid/PartOfName]");
					return 1;
				}
				giveplayerid = ReturnUser(tmp);
				if(IsPlayerConnected(giveplayerid))
				{
					if(giveplayerid != INVALID_PLAYER_ID)
					{
					  if (ProxDetectorS(3.0, playerid, giveplayerid))
						{
						  if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "You cannot stop dragging yourself!"); return 1; }
							if(DragOff[giveplayerid] > 0)
							{
							  GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
								GetPlayerName(playerid, sendername, sizeof(sendername));
							  format(string, sizeof(string), "* %s stopped dragging you.", sendername);
								SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
								format(string, sizeof(string), "* You stopped dragging %s.", giveplayer);
								SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
								TogglePlayerControllable(giveplayerid, 1);
								DragOff[giveplayerid] = 0;
							}
							else
							{
							  SendClientMessage(playerid, COLOR_GREY, "  That player isn't being dragged !");
							  return 1;
							}
						}
						else
						{
						  SendClientMessage(playerid, COLOR_GREY, "  That player is not near you !");
						  return 1;
						}
					}
				}
				else
				{
				  SendClientMessage(playerid, COLOR_GREY, "  That player is Offline !");
				  return 1;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "  You are not a Cop / FBI / National Guard !");
			}
		}//not connected
		return 1;
	}



Re: [GM]Los Angeles Roleplay - [IB]Scorcher - 18.05.2009

Quote:
Originally Posted by cristofer
Quote:
Originally Posted by Jewsus
So i have alot of problems with this
/ta says it cuffs the person but it doesent and you gotta do /drag and then cuff the person
then it stopped working
so i tried re compiling it
says it cant read somthing about STRING
Код:
 if(strcmp(cmd, "/drag", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
			if(IsACop(playerid))
			{
			  tmp = strtok(cmdtext, idx);
				if(!strlen(tmp)) {
					SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drag [Playerid/PartOfName]");
					return 1;
				}
				giveplayerid = ReturnUser(tmp);
			  if(IsPlayerConnected(giveplayerid))
				{
				  if(giveplayerid != INVALID_PLAYER_ID)
				  {
				    if(gTeam[giveplayerid] == 2 || IsACop(giveplayerid))
				    {
				      SendClientMessage(playerid, COLOR_GREY, " You can't drag Cops !");
					    return 1;
				    }
					  if(DragOff[giveplayerid] > 0)
					  {
					    SendClientMessage(playerid, COLOR_GREY, " Player already being dragged!");
					    return 1;
					  }
						if (ProxDetectorS(3.0, playerid, giveplayerid))
						{
     					  if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "You cannot drag yourself!"); return 1; }
						    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
								GetPlayerName(playerid, sendername, sizeof(sendername));
						    format(string, sizeof(string), "* You are being by %s, untill he stops.", sendername);
								SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
								format(string, sizeof(string), "* You are dragging %s, untill you stop.", giveplayer);
								SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
								format(string, sizeof(string), "* %s starts dragging %s.", sendername ,giveplayer);
								ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
								TogglePlayerControllable(giveplayerid, 0);
								DragOff[giveplayerid] = playerid;

						}
						else
						{
						  SendClientMessage(playerid, COLOR_GREY, " That player is not near you !");
						  return 1;
						}
					}
				}
				else
				{
				  SendClientMessage(playerid, COLOR_GREY, " That player is Offline !");
				  return 1;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, " You are not a Cop / FBI / National Guard!");
			}
		}
		return 1;
	}
    if(strcmp(cmd, "/stopdrag", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
			if(IsACop(playerid))
			{
			  tmp = strtok(cmdtext, idx);
				if(!strlen(tmp)) {
					SendClientMessage(playerid, COLOR_WHITE, "USAGE: /stopdrag [Playerid/PartOfName]");
					return 1;
				}
				giveplayerid = ReturnUser(tmp);
				if(IsPlayerConnected(giveplayerid))
				{
					if(giveplayerid != INVALID_PLAYER_ID)
					{
					  if (ProxDetectorS(3.0, playerid, giveplayerid))
						{
						  if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "You cannot stop dragging yourself!"); return 1; }
							if(DragOff[giveplayerid] > 0)
							{
							  GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
								GetPlayerName(playerid, sendername, sizeof(sendername));
							  format(string, sizeof(string), "* %s stopped dragging you.", sendername);
								SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
								format(string, sizeof(string), "* You stopped dragging %s.", giveplayer);
								SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
								TogglePlayerControllable(giveplayerid, 1);
								DragOff[giveplayerid] = 0;
							}
							else
							{
							  SendClientMessage(playerid, COLOR_GREY, " That player isn't being dragged !");
							  return 1;
							}
						}
						else
						{
						  SendClientMessage(playerid, COLOR_GREY, " That player is not near you !");
						  return 1;
						}
					}
				}
				else
				{
				  SendClientMessage(playerid, COLOR_GREY, " That player is Offline !");
				  return 1;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, " You are not a Cop / FBI / National Guard !");
			}
		}//not connected
		return 1;
	}
Where did you get that from?


Re: [GM]Los Angeles Roleplay - BioFreeze - 18.05.2009

Quote:
Originally Posted by basicllsw
I'm 1 problems with this gamemode


In sometime when fill gas /fill is not active

player is freeze in gas station is long time but on server is restart function is active agian


sorry for mybad english thanks

Remove
Код:
TogglePlayerControllable(playerid, 0);
At ''/fill''.


Re: [GM]Los Angeles Roleplay - Nikko_Vincci - 19.05.2009

great script dude and a quick question i cant figure out..

how do i make reservation cars 172-183 gang cars?
i already have vehicle positions just i dont know how to make them so its like the pd cars u dont have the keys to this vehicle and such!!

if u cant help with that do you know how to make them stop respawning when i exit them because they have a like 1 min respawn time on them




Re: [GM]Los Angeles Roleplay - T.I. - 19.05.2009

What GM is better LARP or GF?