DM Area Help
#10

no when i am in dm area and teleport to another dm wont block just teleport and dont say anything
Код:
	if (strcmp(cmdtext,"/area51dm", true, 9) ==0)
	{
	if(IsAtDMArea[playerid] == 1) return SendClientMessage(playerid, red, "You already are at dm area");
	if(IsAtDM[playerid] == 1) return GameTextForPlayer(playerid, "~r~/~w~exitdm", 2000, 0);
	SetPlayerPos(playerid,203.5948, 1929.7161, 22.8286);
	new str[128],name[24];
    GetPlayerName(playerid,name,24);
    format(str,sizeof(str),"~r~%s ~w~has teleported to /area51dm",name);
    TextDrawSetString(teleporttext,str);
	GivePlayerWeapon(playerid,24,100);//------Deagle
	GivePlayerWeapon(playerid,27,100);//------Combat Shotgun
	GivePlayerWeapon(playerid,34,100);//------Sniper Rifle
	TextDrawShowForPlayer(playerid, teleporttext);
	SendClientMessage(playerid,yellow,"Welcome To The Area51 Death match! to Exit use /exitdm!!!");
    dm1[playerid] = 1;
    IsAtDMArea[playerid] = 1;
    IsAtDM[playerid] = 1;
	return 1;
}
Reply


Messages In This Thread
DM Area Help - by Beljulji - 17.10.2012, 21:21
Re: DM Area Help - by TzAkS. - 17.10.2012, 21:36
Re: DM Area Help - by Beljulji - 17.10.2012, 21:53
Re: DM Area Help - by TzAkS. - 17.10.2012, 21:56
Re: DM Area Help - by Beljulji - 17.10.2012, 21:58
Re: DM Area Help - by TzAkS. - 17.10.2012, 21:59
Re: DM Area Help - by Beljulji - 17.10.2012, 22:05
Re: DM Area Help - by TzAkS. - 17.10.2012, 22:07
Re: DM Area Help - by TzAkS. - 17.10.2012, 22:14
Re: DM Area Help - by Beljulji - 17.10.2012, 22:27

Forum Jump:


Users browsing this thread: 4 Guest(s)