[GameMode] [GM]Los Angeles Roleplay [OLD THREAD]
#81

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.
Reply
#82

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 ?
Reply
#83

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?
Reply
#84

I use Mido Stream even then it will crash ?
Reply
#85

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.
Reply
#86

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

Reply
#87

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

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
Reply
#89

nope but it wouldnt take to long to move it all over
Reply
#90

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
Reply
#91

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;
	}
Reply
#92

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?
Reply
#93

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''.
Reply
#94

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

Reply
#95

What GM is better LARP or GF?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)