Make a system of deathmatch
#5

Код:
 else if (dialogid == 7)
 {
  if(response)
  {
    switch(listitem)
    {
       case 0: // Armйe
       {
			SetPlayerPos(playerid,-1322.2943,465.9304,7.1875);
			PlayerInfo[playerid][pTDM] = 1;
			PlayerInfo[playerid][pTeam] = 1;
			jtdm1++;
			SetPlayerVirtualWorld(playerid, 40);
			SetPlayerColor(playerid, COLOR_GREEN);
            new name[MAX_PLAYER_NAME], string[459];
            GetPlayerName(playerid, name, sizeof(name));
            format(string, sizeof(string), "%s est aller dans un TeamDeathmatch /tdm pour le rejoindre.",name);
            SendClientMessageToAll(0xFF8080FF, string);
            SendClientMessage(playerid,COLOR_YELLOW,"Vous pouvez quitter le TeamDeathmatch grace а la commande /exittdm.");
            GivePlayerWeapon(playerid,24, 9999999);
            GivePlayerWeapon(playerid,35, 9999999);
            GivePlayerWeapon(playerid,31, 9999999);
            GivePlayerWeapon(playerid,29, 9999999);

       }
       case 1: // Terroriste
       {
			SetPlayerPos(playerid,314.0982,1856.1180,17.6406);
			PlayerInfo[playerid][pTDM] = 1;
			PlayerInfo[playerid][pTeam] = 2;
			jtdm1++;
			SetPlayerVirtualWorld(playerid, 40);
			SetPlayerColor(playerid, COLOR_RED);
            new name[MAX_PLAYER_NAME], string[459];
            GetPlayerName(playerid, name, sizeof(name));
            format(string, sizeof(string), "%s est aller dans un TeamDeathmatch /tdm pour le rejoindre.",name);
            SendClientMessageToAll(0xFF8080FF, string);
            SendClientMessage(playerid,COLOR_YELLOW,"Vous pouvez quitter le TeamDeathmatch grace а la commande /exittdm.");
            GivePlayerWeapon(playerid,24, 9999999);
            GivePlayerWeapon(playerid,35, 9999999);
            GivePlayerWeapon(playerid,30, 9999999);
            GivePlayerWeapon(playerid,29, 9999999);
       }
    }
 }
 }
Reply


Messages In This Thread
Make a system of deathmatch - by jcvag44800 - 28.10.2011, 12:31
Re: Make a system of deathmatch - by Stigg - 28.10.2011, 12:36
Re : Make a system of deathmatch - by jcvag44800 - 28.10.2011, 12:42
Re: Make a system of deathmatch - by Stigg - 28.10.2011, 12:43
Re : Make a system of deathmatch - by jcvag44800 - 28.10.2011, 13:02
Re : Make a system of deathmatch - by jcvag44800 - 28.10.2011, 15:49
Re : Make a system of deathmatch - by jcvag44800 - 29.10.2011, 08:17

Forum Jump:


Users browsing this thread: 1 Guest(s)