Please help!! Please! DM exit
#8

Quote:
Originally Posted by grand.Theft.Otto
Посмотреть сообщение
Here's an example of what you would do:

pawn Код:
// top of script

new InDM[MAX_PLAYERS]; // starting the variable

// kill command

InDm[playerid] = 0; // so the server knows when they die, they will not be in the dm anymore

// teleport menu selection (for when they teleport)

InDM[playerid] = 1;

// /teles command

if(InDM[playerid] == 1)
{
     return SendClientMessage(playerid,color,"You must exit this DM before you go to a new one. Type /kill first");
}

// onplayerdeath

InDM[playerid] = 0;
Hope you understand. You should get the idea?

Thanks

It workes but is there a way to disable the menu?

because the menu still shows and you can use it to tp :P
and when you select a tp it says you must type /kill lol


Thanks anyways
Reply


Messages In This Thread
Please help!! Please! DM exit - by fie - 28.07.2011, 20:00
Re: Please help!! Please! DM exit - by Calgon - 28.07.2011, 20:05
Re: Please help!! Please! DM exit - by ylleron - 28.07.2011, 20:09
Re: Please help!! Please! DM exit - by fie - 28.07.2011, 20:09
Re: Please help!! Please! DM exit - by grand.Theft.Otto - 28.07.2011, 20:10
Re: Please help!! Please! DM exit - by fie - 28.07.2011, 20:11
Re: Please help!! Please! DM exit - by ylleron - 28.07.2011, 20:17
Re: Please help!! Please! DM exit - by fie - 28.07.2011, 20:23
Re: Please help!! Please! DM exit - by ylleron - 28.07.2011, 20:34
Re: Please help!! Please! DM exit - by Kaperstone - 28.07.2011, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)