Deathmatch Zone Help
#4

Im triyng to make it.Here is the command:

Код:
if (strcmp("/dm1", cmdtext, true, 10) == 0)
    {
      if(isindm1[playerid]==1) return SendClientMessage(playerid, COLOR_YELLOW, "You need to exit the current deathmatch first.");
      isindm1[playerid]=1;
      SetPlayerPos(playerid, 1776.9133, -1801.5455, 52.4688);
      SetPlayerFacingAngle(playerid, 0);
      new string[128],pName[MAX_PLAYER_NAME];
      GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
      format(string,sizeof(string)," %s Joined Dm1",pName);
      SendClientMessageToAll(COLOR_YELLOW,string);
    }
    if (strcmp("/cancel", cmdtext, true, 10) == 0)
    {
        if(isindm1[playerid]==1)isindm1[playerid]=0;
		else return SendClientMessage(playerid, COLOR_YELLOW, "Your Not In a Dm!");
        SetPlayerPos(playerid, -1496.3367, 904.7078, 7.1875);
        new string[128],pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
        format(string,sizeof(string)," %s exit DM1",pName);
        SendClientMessageToAll(COLOR_YELLOW,string);
    }
    return 1;
}
Reply


Messages In This Thread
Deathmatch Zone Help - by IvancheBG - 06.01.2012, 17:15
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 07:27
Re: Deathmatch Zone Help - by Lee_Percox - 07.01.2012, 07:36
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 07:41
Re: Deathmatch Zone Help - by §с†¶e®РµРe - 07.01.2012, 08:23
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 08:41
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 10:50
Re: Deathmatch Zone Help - by James Coral - 07.01.2012, 10:51
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 10:54
Re: Deathmatch Zone Help - by TheLonelyMoo - 07.01.2012, 11:03

Forum Jump:


Users browsing this thread: 1 Guest(s)