Raised This Month: $ Target: $400
 0% 

Jail Mod


  
 
 
Thread Tools Display Modes
die-demoneye
Senior Member
Join Date: Jan 2008
Location: France Near Paris
Old 08-14-2009 , 19:57   Re: Jail Mod
#31

Connor voudrais pas développer le mod Jail par hasard ^^ xD ? stp stp stp
__________________
If Need French Translation, Request For It ...
[IMG]http://img5.**************/img5/68/diedemoneye.jpg[/IMG]
die-demoneye is offline
Send a message via MSN to die-demoneye
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-15-2009 , 03:22   Re: Jail Mod
#32

Je voulais faire le mode de A à Z au début quand j'ai vu les codes que pondait sOOn, mais lui voulais tout garder pour lui, je l'ai donc laissé se débrouiller tout seul.
Y'aurait pas mal à faire pour que beaucoup de choses soient gérées par plugin et que les serveurs soient jouables sans admins.
Le mode en lui-même reste quand même assez nul.

Quoi qu'il en soit, j'aurai pas le temps pendant un ptit moment, ensuite qui sait ?
Si j'ai d'autres idées de plugins, c'est sûr qu'ils passeront avant ça.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Ferrari
Senior Member
Join Date: Mar 2009
Location: In front of my PC
Old 08-15-2009 , 03:23   Re: Jail Mod
#33

Il a été deja developer si tu lisais un peu le topic il a donné tout les codes qui permettent de creeer un serveur JAIL
Ferrari is offline
die-demoneye
Senior Member
Join Date: Jan 2008
Location: France Near Paris
Old 08-18-2009 , 12:36   Re: Jail Mod
#34

Quote:
Originally Posted by Ferrari View Post
Il a été deja developer si tu lisais un peu le topic il a donné tout les codes qui permettent de creeer un serveur JAIL
Ouai mais le but c'étais d'avoir tout dans le même plugin, et ajouter d'autres fonctions utiles au mod !
__________________
If Need French Translation, Request For It ...
[IMG]http://img5.**************/img5/68/diedemoneye.jpg[/IMG]
die-demoneye is offline
Send a message via MSN to die-demoneye
Javivi
AlliedModders Donor
Join Date: Dec 2008
Old 08-20-2009 , 13:41   Re: Jail Mod
#35

Pardon a tous por mon français, je suis espagnol ;P


Quelq'un peut me dire d'oú je peut télécharger des "jail mod" maps ??

Ou un pack de maps (--- génial )


Au Revoir et pardon xD!
Javivi is offline
sooN
Veteran Member
Join Date: Apr 2009
Old 08-22-2009 , 14:57   Re: Jail Mod
#36

Comme j'étais le premier a avoir un serveur sur CZ et CS1.6 je voulais pas accélérer la création des serveurs en leurs donnant les plugins. Maintenant je m'en fiche tout le monde à un JAIL
__________________
sooN is offline
Ferrari
Senior Member
Join Date: Mar 2009
Location: In front of my PC
Old 08-22-2009 , 15:11   Re: Jail Mod
#37

Pour ca que cet aprem ej t'ai vu toi et pGx FK sur mon serveur
Ferrari is offline
sooN
Veteran Member
Join Date: Apr 2009
Old 08-22-2009 , 15:23   Re: Jail Mod
#38

Je vois pas le rapport non plus, j'ai donné la réponse a ce geste une raison valable.

EDIT : Et je vais te le redire nos histoires n'intéressent personne ici, en plus tu es en tort donc évites de continuer afin de te donner raison. Merci
__________________
sooN is offline
PsYChOPaTiQuE
Veteran Member
Join Date: Jan 2009
Location: Paris
Old 08-24-2009 , 21:20   Re: Jail Mod
#39

J'ai un peu modifier le plugin pour les models
Il ne marche pas et je n'arrive pas à trouver pourquoi

Code:
/*    Formatright © 2009, ConnorMcLeod
    Jail Players Models is free software;
    you can redistribute it and/or modify it under the terms of the
    GNU General Public License as published by the Free Software Foundation.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    You should have received a copy of the GNU General Public License
    along with Jail Players Models; if not, write to the
    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.
*/
#include <amxmodx>
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>
#define VERSION "0.1.0"
#define MAX_PLAYERS    32
#define MAX_MODEL_LENGTH    12
new const g_szTerroristsModels[][] = {
    "prisonnier_jail",
    "prisonnier_jail2",
    "prisonnier_jail3"
}
new const g_szCtModel[] = {
    "policier_bnt"
    "policier2_bnt"
    "policier3_bnt"
    "policier4_bnt"
}
new const MODEL[] = "model"
new g_szCmd[] = ";cl_minmodels 0"
new g_szModel[MAX_PLAYERS+1][MAX_MODEL_LENGTH]
new g_iOldTeam[MAX_PLAYERS+1]
public plugin_init()
{
    register_plugin("Jail Players Models", VERSION, "ConnorMcLeod")
    RegisterHam(Ham_Spawn, "player", "Player_Spawn_Post", 1)
    register_forward(FM_SetClientKeyValue, "SetClientKeyValue")
    register_message(get_user_msgid("ClCorpse"), "Message_ClCorpse")
}
public plugin_precache()
{
    precache_model("models/player/policier_bnt/policier_bnt.mdl")
    precache_model("models/player/policier2_bnt/policier2_bnt.mdl")
    precache_model("models/player/policier3_bnt/policier3_bnt.mdl")
    precache_model("models/player/policier4_bnt/policier4_bnt.mdl")
    precache_model("models/player/prisonnier_jail/prisonnier_jail.mdl")
    precache_model("models/player/prisonnier_jail2/prisonnier_jail2.mdl")
    precache_model("models/player/prisonnier_jail3/prisonnier_jail3.mdl")
}
public client_connect(id)
{
    client_cmd(id, g_szCmd)
}
public client_putinserver( id )
{
    g_iOldTeam[id] = 0
    if( !is_user_bot(id) )
    {
        set_task(0.1, "Init_Checks", id)
    }
}
public Init_Checks(id)
{
    if( is_user_connected(id) )
    {
        query_client_cvar(id, "cl_minmodels", "Cvar_Result")
    }
}
public Cvar_Result(id, const szCvar[], const szValue[])
{
    if( is_user_connected(id) )
    {
        if( szValue[0] != '0' || szValue[1] != 0 )
        {
            client_cmd(id, g_szCmd)
        }
        query_client_cvar(id, "cl_minmodels", "Cvar_Result")
    }
}
public Player_Spawn_Post(id)
{
    if( is_user_alive(id) )
    {
        new iTeam = _:cs_get_user_team(id)
        if( iTeam != g_iOldTeam[id] )
        {
            g_iOldTeam[id] = iTeam
            switch( iTeam )
            {
                case 1:
                {
                    formatex(g_szModel[id], MAX_MODEL_LENGTH-1, g_szTerroristsModels[ random(sizeof(g_szTerroristsModels)) ])
                }
                case 2:
                {
                    formatex(g_szModel[id], MAX_MODEL_LENGTH-1, g_szCtModel)
                }
            }
            set_user_info(id, MODEL, g_szModel[id])
        }
    }
}
public SetClientKeyValue(id, const szInfoBuffer[], const szKey[])
{
    if( equal(szKey, MODEL) )
    {
        return FMRES_SUPERCEDE
    }
    return FMRES_IGNORED
}
public Message_ClCorpse()
{
    set_msg_arg_string(1, g_szModel[ get_msg_arg_int(12) ])
}
Merci d'avance
__________________
PsYChOPaTiQuE is offline
sooN
Veteran Member
Join Date: Apr 2009
Old 08-25-2009 , 09:13   Re: Jail Mod
#40

C'est quoi que tu as modifié ?
__________________
sooN is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode