DM Help!
#1

Hello! So, I wanna know how to stop all commands/teleports in DMs except /kill command! Can someone help me with this pls?
Here is my DM teleport:
Код:
if (strcmp("/apb", cmdtext, true, 10) == 0)
	{
			SetPlayerPos(playerid, 1493.9071,-1573.1179,67.2109);
			SetPlayerFacingAngle(playerid, 184.5182);
			SetCameraBehindPlayer(playerid);
			GameTextForPlayer(playerid,"WELCOME TO ALL POINTS BULLETIN",5000,3);
			new string[256], pname[MAX_PLAYER_NAME];
			GetPlayerName(playerid, pname, sizeof(pname));
			format(string, sizeof(string), "%s has teleported to All Points Bulletin (/apb)", pname);
			SendClientMessageToAll(YELLOW, string);
			SendClientMessage(playerid,YELLOW,"Type /apbr for APB rules!");
			SendClientMessage(playerid,YELLOW,"Type /apbc for APB commands!");
			SendClientMessage(playerid,YELLOW,"Type /kill to leave APB!");
			ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST,"{FF002B}ALL POINTS BULLETIN","Enforcer\nCriminal","Spawn","Cancel");
			SetPlayerVirtualWorld(playerid, 0);
			return 1;
	}
Reply


Messages In This Thread
DM Help! - by fiki574 - 18.05.2011, 06:03
Re: DM Help! - by fiki574 - 18.05.2011, 06:09
Re: DM Help! - by fiki574 - 18.05.2011, 06:27
Re: DM Help! - by Wesley221 - 18.05.2011, 06:38
Re: DM Help! - by fiki574 - 18.05.2011, 12:24
Re: DM Help! - by Wesley221 - 18.05.2011, 12:30
Re: DM Help! - by fiki574 - 18.05.2011, 12:36
Re: DM Help! - by Wesley221 - 18.05.2011, 13:25
Re: DM Help! - by Cro_Haxor - 18.05.2011, 13:39
Re: DM Help! - by fiki574 - 18.05.2011, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)