SA-MP Forums Archive
Problem - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem (/showthread.php?tid=155242)



Problem - RatHack - 17.06.2010

Hi hi

my problem is, i have one GM and all houses of San Andreas are locked, i cant enter in..

anyone know the problem?

Thx


Re: Problem - Flashy - 17.06.2010

You must have something that close the houses for a specific player group.
Search on OnGameModInit or OnPlayerConnect if you have something that close the doors.


Re: Problem - RatHack - 17.06.2010

Код:
public OnGameModeInit()

{

	SetGameModeText("LV_TDM v4.2.7");
	SetTeamCount(3);
	ShowNameTags(1);
	UsePlayerPedAnims();
  DisableInteriorEnterExits();
	ShowPlayerMarkers(1);
	SetWorldTime(0);
  TextDrawShowForAll(Textdraw0);
  AllowInteriorWeapons(1);

public OnPlayerConnect(playerid)

{
	TextDrawShowForPlayer(playerid, Textdraw0);
  TextDrawShowForPlayer(playerid, Textdraw1);
	GameTextForPlayer(playerid," ~n~ ~n~ ~n~~b~Clan War~n~~r~Team Deathmatch",4000,1);
  	GivePlayerMoney(playerid, 5000);
  new pName[MAX_PLAYER_NAME];
  new string[48];
  GetPlayerName(playerid, pName, sizeof(pName));
  format(string, sizeof(string), "%s has joined the server.", pName);
  SendClientMessageToAll(COLOR_GREY, string);
	return 1;

}

That is what i have.



Re: Problem - [L3th4l] - 17.06.2010

remove "DisableInteriorEnterExits();"


Re: Problem - RatHack - 17.06.2010

Gracias, me sirvio

Podeis cerrar tema.


Re: Problem - [L3th4l] - 17.06.2010

de nada