Help me(again)
#1

Now that my teleport scrpit works, I have another question.
1.How to Disable All Ingame teleports?
2. When I do /exit at my teleport LSPD, My map dissappears, exept the CreateObjects.
Reply
#2

1st.) Use a variable:
pawn Код:
if(AllTelesBlocked==1) return 1;   // At your command that you want to block, and on another command, you make the variable 1 or 0.
2nd). At the /exit command add:
pawn Код:
SetPlayerInterior(playerid, 0);
Reply
#3

I mean like, when I go to my server. I see the entrances that you see in the singleplayer modes. where do I have to put that command then? I know, i'm a n00b at scripting xD., but the SetPlayerInterior(playerid, 0); works, thanks .
Reply
#4

Oh, you mean how you can disable the Yellow Markers to enter Houses?
You can only disable them by using

pawn Код:
public OnGameModeInit()
{
  DisableInteriorExitExits();
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)