interior help
#1

hello everyone,

I'm having a little problem:
in other servers when you enter an interior, you exit by typing /exit. well thats possible in my server to, but when i walk a bit to the door, i get a kind of little "ingame movie" with my char walking through the door. how can i disable the whole auto walk-through-the-door thing?
Reply
#2

You'll need to make a custom interior enter/exit system, and disable the default (gta) one
Reply
#3

yea, i have the enter/exit thing. but do i have to disable the gta one with a command of with a program?
Reply
#4

pawn Код:
public OnGameModeInit()
{
  [...]

  DisableInteriorEnterExits();

  [...]
  return 1;
}
Reply
#5

aha, thanks
Reply
#6

hmm, now i wanted to make a pickup which gives a message, but i get a weird error:
Код:
warning 206: redundant test: constant expression is non-zero
this is the piece of script:
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
	if(pickupid == MainHallEnter)
	{
 	SendClientMessage(playerid, COLOR_CYELLOW, "* Type /enter to enter the main hall.");
	return 1;
  }
	return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)