[Map] @rZones Teams
#1


Simple map.

LEIA ANTES DE POSTAR!


@Descriзгo:
- Bom, este й um simples mapa, que fiz antigamente e eu estava usando em meu servidor.
- Porйm como estou fazendo a nova versгo. Irйi retirar esse mapa.... Em vez de deixa-lo parado, decidi posta-lo.
- Jб que estou so codando, de noite. Decidi adicionar algumas coisas...


@Links Prints:

~ Comando: /zt.
~ Selecionando a equipe.
~ Erro + Sair.
~ Spawn Traficantes.
~ Spawn Nerds.
~ Mapa.

@Cуdigo:
pawn Код:
/*

==============================================================
                     [Map] Zone Teams
==============================================================
                       By: @Riichard
==============================================================

*/


// == [Includes] == //
#include           <a_samp> // Thanks SA-MP TEAM :P
#include           <streamer> // Thanks Incognito :P
#include           <bcmd> // Thanks BlueX :P

// == [Defines] == //
#define rDialogt    88
#define rBranco     0xD8F9FFAA
#define rVermelho   0xFF0000AA
#define rAzul       0x4095FFAA

// == [Variavel] == //
new
      rString[128],
      bool:Bloque[MAX_PLAYERS],
      Tempo[MAX_PLAYERS]
;

public OnFilterScriptInit()
{
    print("\n================================");
    print(" [Map] Zone Teams - By: @Riichard");
    print("================================\n");
    // Objetos:
    CreateDynamicObject(8355, -2943.1000976563, 2192.3000488281, 0.30000001192093, 0, 0, 2);
    CreateDynamicObject(18266, -2936.8999023438, 2152.8000488281, 3.4000000953674, 0, 0, 168);
    CreateDynamicObject(18229, -2983.3000488281, 2196.3999023438, -9.3000001907349, 0, 0, 2);
    CreateDynamicObject(8355, -3057.3000488281, 2207.3999023438, 0.10000000149012, 0, 0, 359.99951171875);
    CreateDynamicObject(18229, -3016.6000976563, 2195.1999511719, -9.3000001907349, 0, 0, 1.99951171875);
    CreateDynamicObject(3279, -3043.3999023438, 2157.8000488281, -0.40000000596046, 0, 0, 158);
    CreateDynamicObject(3279, -2953.8999023438, 2235.1999511719, -0.5, 0, 0, 342);
    CreateDynamicObject(3271, -2937.5, 2220.5, 0.10000000149012, 0, 0, 0);
    CreateDynamicObject(3271, -3056, 2161.8999023438, -0.20000000298023, 0, 0, 0);
    CreateDynamicObject(1342, -2934.3000488281, 2182, 1.2999999523163, 0, 0, 170);
    CreateDynamicObject(1231, -2959, 2174.6999511719, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -2941.3000488281, 2186.6000976563, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -2949.3000488281, 2205.1000976563, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -2949.599609375, 2160.7998046875, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -2960, 2225.6000976563, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1215, -3029.1999511719, 2199.6999511719, 2, 0, 0, 0);
    CreateDynamicObject(1215, -3022, 2199.8999023438, 2, 0, 0, 0);
    CreateDynamicObject(1215, -3016, 2200, 2, 0, 0, 0);
    CreateDynamicObject(1215, -3006.3999023438, 2200.3999023438, 2, 0, 0, 0);
    CreateDynamicObject(1215, -2995.8000488281, 2200.6999511719, 2, 0, 0, 0);
    CreateDynamicObject(1215, -2986.5, 2200.8999023438, 2, 0, 0, 0);
    CreateDynamicObject(1215, -2975.8999023438, 2201.3000488281, 2, 0, 0, 0);
    CreateDynamicObject(14467, -2960.8000488281, 2209.6000976563, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(14467, -2960.3000488281, 2192.6000976563, 2.7999999523163, 0, 0, 114);
    CreateDynamicObject(14467, -3039.6000976563, 2209.5, 2.5999999046326, 0, 0, 320);
    CreateDynamicObject(14467, -3040.6999511719, 2190, 2.5999999046326, 0, 0, 203.99877929688);
    CreateDynamicObject(792, -2961.1999511719, 2232.8000488281, 0.30000001192093, 0, 0, 0);
    CreateDynamicObject(792, -2946.3000488281, 2245.3999023438, 0.30000001192093, 0, 0, 0);
    CreateDynamicObject(792, -2941.8000488281, 2182.6999511719, 0.30000001192093, 0, 0, 0);
    CreateDynamicObject(792, -2960.1000976563, 2171.8999023438, 0.30000001192093, 0, 0, 0);
    CreateDynamicObject(792, -2943.3999023438, 2196, 0.30000001192093, 0, 0, 0);
    CreateDynamicObject(792, -3045, 2213.1999511719, -0.20000000298023, 0, 0, 348);
    CreateDynamicObject(792, -3060.6000976563, 2179.8000488281, -0.20000000298023, 0, 0, 347.99743652344);
    CreateDynamicObject(792, -3043.3000488281, 2186.1000976563, -0.20000000298023, 0, 0, 347.99743652344);
    CreateDynamicObject(792, -3071.8000488281, 2199.1000976563, -0.20000000298023, 0, 0, 347.99743652344);
    CreateDynamicObject(792, -3064.1999511719, 2168.8000488281, -0.20000000298023, 0, 0, 347.99743652344);
    CreateDynamicObject(792, -3072.3999023438, 2154.8999023438, -0.20000000298023, 0, 0, 347.99743652344);
    CreateDynamicObject(16061, -3067.6999511719, 2173, -0.20000000298023, 0, 0, 0);
    CreateDynamicObject(16061, -2931.1000976563, 2183, -0.20000000298023, 0, 0, 0);
    CreateDynamicObject(18259, -3061.3999023438, 2215.8999023438, 1, 0, 0, 116);
    CreateDynamicObject(3458, -2958.6000976563, 2155.6999511719, 1.5, 0, 0, 272);
    CreateDynamicObject(3458, -3057.6999511719, 2239.1000976563, 1.6000000238419, 0, 0, 180);
    CreateDynamicObject(981, -3057.5, 2246.5, 0.89999997615814, 0, 0, 0);
    CreateDynamicObject(8483, -2922.8000488281, 2190.6999511719, 5.9000000953674, 0, 0, 176);
    CreateDynamicObject(3279, -2942.1999511719, 2189.8999023438, -0.5, 0, 0, 263.99893188477);
    CreateDynamicObject(3279, -3058.6000976563, 2190.3999023438, -0.40000000596046, 0, 0, 203.99731445313);
    CreateDynamicObject(16061, -3040.1999511719, 2163.3999023438, -0.20000000298023, 0, 0, 0);
    CreateDynamicObject(16061, -2960.1000976563, 2232, -0.20000000298023, 0, 0, 0);
    CreateDynamicObject(981, -2947.8000488281, 2252.3000488281, 0.89999997615814, 0, 0, 0);
    CreateDynamicObject(1231, -3046.8999023438, 2167.5, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -3052.8999023438, 2204.3000488281, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -3067.8999023438, 2191.3999023438, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -3064.6999511719, 2225.8000488281, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -3044.8000488281, 2198.6999511719, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -3050.8000488281, 2152, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -3064, 2142.8999023438, 2.7999999523163, 0, 0, 0);
    CreateDynamicObject(1231, -3057.1000976563, 2200.1000976563, 2.7999999523163, 0, 0, 0);
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == rDialogt)
    {
        if(response)
        {
            if(listitem == 0)
            {
                KillTimer(Tempo[playerid]);
                Bloque[playerid] = true;
                format(rString, sizeof(rString), "[rZoneTeams] O Jogador {4095FF}%s{D8F9FF} escolheu a equipe {4095FF}Nerds{D8F9FF}. ({4095FF}/zt{D8F9FF})", rNome(playerid));
                SendClientMessageToAll(rBranco, rString);
                ResetPlayerWeapons(playerid);
                SetPlayerPos(playerid, -3061.0159, 2217.4526, 2.0859);
                SetPlayerTeam(playerid, 1);
                GivePlayerWeapon(playerid, 4, 1);
                GivePlayerWeapon(playerid, 24, 950);
                GivePlayerWeapon(playerid, 27, 950);
                GivePlayerWeapon(playerid, 29, 950);
                GivePlayerWeapon(playerid, 31, 950);
                GivePlayerWeapon(playerid, 34, 950);
                SetPlayerSkin(playerid, 289);
                TogglePlayerControllable(playerid, false);
                GameTextForPlayer(playerid, "~r~~h~Carregando~w~...", 2000, 3);
                Tempo[playerid] = SetTimerEx("rDescongelar", 3000, true, "d", playerid);
            }
            if(listitem == 1)
            {
                KillTimer(Tempo[playerid]);
                Bloque[playerid] = true;
                format(rString, sizeof(rString), "[rZoneTeams] O Jogador {4095FF}%s{D8F9FF} escolheu a equipe {4095FF}Traficante{D8F9FF}. ({4095FF}/zt{D8F9FF})", rNome(playerid));
                SendClientMessageToAll(rBranco, rString);
                ResetPlayerWeapons(playerid);
                SetPlayerPos(playerid,-2937.0891, 2168.7910, 1.3000);
                SetPlayerTeam(playerid, 2);
                GivePlayerWeapon(playerid, 4, 1);
                GivePlayerWeapon(playerid, 24, 950);
                GivePlayerWeapon(playerid, 27, 950);
                GivePlayerWeapon(playerid, 29, 950);
                GivePlayerWeapon(playerid, 31, 950);
                GivePlayerWeapon(playerid, 34, 950);
                SetPlayerSkin(playerid, 293);
                TogglePlayerControllable(playerid, false);
                GameTextForPlayer(playerid, "~r~~h~Carregando~w~...", 2000, 3);
                Tempo[playerid] = SetTimerEx("rDescongelar", 3000, true, "d", playerid);
            }
        }
        return 1;
    }
    return 0;
}

forward rDescongelar(playerid);
public rDescongelar(playerid)
{
    TogglePlayerControllable(playerid, true);
    KillTimer(Tempo[playerid]);
    GameTextForPlayer(playerid, "~g~~h~Carregado~w~!", 2000, 3);
    return 1;
}

// Comando
bCMD[zt]-(playerid)
{
    if(Bloque[playerid] == true) return SendClientMessage(playerid, rVermelho, "[rErro] Vocк jб escolheu sua equipe. Use: /Sairzt!");
    ShowPlayerDialog(playerid, rDialogt, DIALOG_STYLE_LIST, "{FF0000}[rZones Team] - Escolha seu time:", "{D8F9FF}1°{4095FF}  -  Nerds\n{D8F9FF}2°{4095FF}  -  Traficantes", "Selecionar", "Fechar");
    return 1;
}

bCMD[sairzt]-(playerid)
{
    if(Bloque[playerid] == false) return SendClientMessage(playerid, rVermelho, "[rErro] Vocк nгo estб na Zone Teams.");
    Bloque[playerid] = false;
    SendClientMessage(playerid, rAzul, "[rAviso] Vocк foi liberado.");
    SpawnPlayer(playerid);
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
     Bloque[playerid] = false;
     return 0;
}

// Stock Nome
stock rNome(playerid)
{
    new rnome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, rnome, MAX_PLAYER_NAME);
    return rnome;
}

@Creditos:
@Riichard (FilterScript/Mapa)
BlueX (bCMD)
Incognito (Streamer)
Код:
[18:25:21] Hades - Lαєяўισ Gυιмαягєѕ Mιяαи∂α: cade meus creditos ?
[18:25:25] Hades - Lαєяўισ Gυιмαягєѕ Mιяαи∂α: eu qi te passei a fonte
[18:25:26] Hades - Lαєяўισ Gυιмαягєѕ Mιяαи∂α: do banner
[18:25:27] Hades - Lαєяўισ Gυιмαягєѕ Mιяαи∂α: ._.'
Ades (Fonte Banner)



@Outros:
- Sou pйssimo em criar mapas de DM.. (Nгo faзo nada combinando)
- E um mapa que e bom para TDM/DM/DRIFT/4Fun(Creio), porйm RP/G, nгo fica muito legal..
- Quem quiser usa-lo/postar em blog ou em outras coisas, por favor. Nгo retire os crйditos.
- Nгo sou de fazer aqueles mapas grandes, etc...

- Espero que gostem.


@OFF:
- Irйi dar uma saнda agora. As 18Hrs, irйi voltar, e olhar o tуpico.


Comentem .
Reply


Messages In This Thread
@rZones Teams - by @Riichard - 08.08.2012, 19:41
Re: @rZones Teams - by Ades - 08.08.2012, 19:46
Re: @rZones Teams - by xPaulistaa - 08.08.2012, 19:51
Re: @rZones Teams - by RebeloX - 08.08.2012, 20:11
Re: @rZones Teams - by .FuneraL. - 08.08.2012, 20:12
Respuesta: @rZones Teams - by Truck - 08.08.2012, 20:51
Re: Respuesta: @rZones Teams - by @Riichard - 08.08.2012, 21:09
Re: @rZones Teams - by Diogo123 - 08.08.2012, 21:39
Re: @rZones Teams - by @Riichard - 08.08.2012, 22:35

Forum Jump:


Users browsing this thread: 1 Guest(s)