Raised This Month: $ Target: $400
 0% 

Verduleria Mod v1.1


  
 
 
Thread Tools Display Modes
Author Message
!Morte
Veteran Member
Join Date: May 2010
Old 08-26-2011 , 19:36   Verduleria Mod v1.1
#1

Este es el plugin que va a revolucionar el modo de ver el CS (?

Se los dejo aca porque no lo puedo subir :L

PHP Code:
/*                Verduleria Mod
                    By !Morte

    Descripcion: Plugin que te permite comprar verduras, y cuando las comes te dan vida :O

    Creditos: 
            Ricardo: Que me proporsiono su verduleria para testear el plugin (?
    
    Posdata:
    ****************** LALALALALALALALALALA ******************
        ****************** LALALALALALALALALALA ******************
            ****************** LALALALALALALALALALA ******************
                ****************** LALALALALALALALALALA ******************
                    ****************** LALALALALALALALALALA ******************
                        ****************** LALALALALALALALALALA ******************
                            ****************** LALALALALALALALALALA ******************
                                ****************** LALALALALALALALALALA ******************
                                    ****************** LALALALALALALALALALA ******************
                                        ****************** LALALALALALALALALALA ******************
                                            ****************** LALALALALALALALALALA ******************
                                                ****************** LALALALALALALALALALA ******************
                                                ****************** LALALALALALALALALALA *******************   HOLA (:
                                                ****************** LALALALALALALALALALA ******************
                                            ****************** LALALALALALALALALALA ******************
                                        ****************** LALALALALALALALALALA ******************
                                    ****************** LALALALALALALALALALA ******************
                                ****************** LALALALALALALALALALA ******************
                            ****************** LALALALALALALALALALA ******************
                        ****************** LALALALALALALALALALA ******************
                    ****************** LALALALALALALALALALA ******************
                ****************** LALALALALALALALALALA ******************
            ****************** LALALALALALALALALALA ******************
        ****************** LALALALALALALALALALA ******************
    ****************** LALALALALALALALALALA ******************
    
    Changelog:
            1.0: Lanzamiento del plugin
            1.1: Agregadas nuevas verduras, para crecer grande y fuerte

*/

#include < amxmodx >
#include < amxmisc >
#include < hamsandwich >
#include < cstrike >
#include < fun >

enum _:VERDURAS
{
    
TOMATE,
    
LECHUGA,
    
BROCOLI,
    
REMOLACHA,
    
CEBOLLA,
    
PEPINO,
    
AJO
    
ZANAHORIA
    
COLES
    
NABOS
    
PEREJIL
    
PUERRO
    
GUISANTES
    
RABANO
    
GOMBO
    
CALABAZA
    
CAUPI,
    
COL
    
BERENJENA
    
JENGIBRE
    
SOJA
    
TARO
    
MANDIOCA
    
BATATA,  
    
PIMIENTO
    
PATATA
    
QUINOA
    
TUPINAMBO,
    
PAPA
}

new const 
VerdurasNombreVERDURAS ][ ] =
{
    
"Tomate",
    
"Lechuga",
    
"Brocoli",
    
"Remolacha",
    
"Cebolla",
    
"Pepino",
    
"Ajo"
    
"Zanahoria"
    
"Coles"
    
"Nabos"
    
"Perejil"
    
"Puerro"
    
"Guisantes"
    
"Rabano"
    
"Gombo"
    
"Calabaza"
    
"Caupi",
    
"Col"
    
"Berenjena"
    
"Jengibre"
    
"Soja"
    
"Taro"
    
"Mandioca"
    
"Batata",  
    
"Pimiento"
    
"Patata"
    
"Quinoa"
    
"Tupinambo",
    
"Papa"
}

new const 
VerdurasPrecioVERDURAS ] =
{
    
5,
    
10,
    
3,
    
7,
    
12,
    
2,
    
15,
    
9,
    
11,
    
8,
    
6,
    
14,
    
19,
    
12,
    
17,
    
22,
    
20,
    
38,
    
35,
    
10,
    
25,
    
26,
    
16,
    
15,
    
25,
    
33,
    
35,
    
24,
    
40
}

new const 
VerdurasVidaVERDURAS ] =
{
    
25,
    
10,
    
30,
    
40,
    
75,
    
100,
    
30,
    
45,
    
65,
    
125,
    
70,
    
5,
    
10,
    
40,
    
10,
    
50,
    
20,
    
95,
    
35,
    
70,
    
55,
    
40,
    
90,
    
85,
    
25,
    
40,
    
35,
    
30,
    
150
}

new 
gVerduras33 ][ VERDURAS ]
new 
gPlata33 ]

public 
plugin_init( )
{
    
register_plugin"Verduleria Mod""1.0""Morte" )
    
    
register_clcmd"say verduleria""clcmd_menu_verduleria" )
    
register_clcmd"say vault""clcmd_menu_vault" )
    
    
register_concmd("set_plata""cmd_plata"_"<player> <cantidad> - Le damos plata"0)
    
    
RegisterHamHam_Killed"player""fw_PlayerKilled" )
}

public 
client_putinserverid )
{
    
gPlataid ] = 0
    
    
for( new verdu 0verdu VERDURASverdu++ )
        
gVerdurasid ][ verdu ] = 0
}

public 
clcmd_menu_verduleriaid )
{
    static 
Texto300 ], MenuNum], v
    
    formatex
TextocharsmaxTexto ), "\wBienvenido a la \yVerduleria^n\yPlata: \r$%d^n\wPagina:"gPlataid ] )
    
Menu menu_createTexto"menu_verduleria" )
    
    for( 
0VERDURASv++ )
    {
        
num_to_strvNumcharsmaxNum ) )
        
        
formatexTextocharsmaxTexto ), "\y%s \w( \r$%d \w)"VerdurasNombre], VerdurasPrecio] )
            
        
menu_additemMenuTextoNum )
    }
    
    
menu_setpropMenuMPROP_NEXTNAME"Adelante" 
    
menu_setpropMenuMPROP_BACKNAME"Atras" 
    
menu_setpropMenuMPROP_EXIT"Salir" 
    
    
menu_displayidMenu )
}

public 
menu_verduleriaidMenuitem )
{
    if( 
item == MENU_EXIT )
    {
        
menu_destroyMenu )
        return 
PLUGIN_HANDLED;
    }
    
    new 
iData[6], iAccessiCallbackiName[64]; 
    
menu_item_getinfoMenuitemiAccessiData5iName63iCallback )
        
    new 
Key str_to_numiData )
    
    if( 
gPlataid ] >= VerdurasPrecioKey ] )
    {
        
gVerdurasid ][ Key ]++
        
gPlataid ] -= VerdurasPrecioKey ]
        
client_printidprint_chat"[VERDURAS] Compraste %s a $%d"VerdurasNombreKey ], VerdurasPrecioKey ] )
        
clcmd_menu_verduleriaid )
        return 
PLUGIN_HANDLED;
    }
    else
    {
        
client_printidprint_chat"[VERDURAS] Necesitas $%d pesos para comprar esta verdura!"VerdurasPrecioKey ] )
        
clcmd_menu_verduleriaid )
        return 
PLUGIN_HANDLED;
    }
    
    return 
PLUGIN_HANDLED;
}

public 
clcmd_menu_vaultid )
{
    static 
Texto300 ], MenuNum], v
    
    formatex
TextocharsmaxTexto ), "\wVault de \yVerduras^n\yPlata: \r$%d^n\wPagina:"gPlataid ] )
    
Menu menu_createTexto"menu_vault" )
    
    for( 
0VERDURASv++ )
    {
        
num_to_strvNumcharsmaxNum ) )
        
        if( 
gVerdurasid ][ ] == )
            
formatexTextocharsmaxTexto ), "\y%s \w( \rNO HAY \w)"VerdurasNombre] )
        else
            
formatexTextocharsmaxTexto ), "\y%s \w( \r%d \w)"VerdurasNombre], gVerdurasid ][ ] )
            
        
menu_additemMenuTextoNum )
    }
    
    
menu_setpropMenuMPROP_NEXTNAME"Adelante" 
    
menu_setpropMenuMPROP_BACKNAME"Atras" 
    
menu_setpropMenuMPROP_EXIT"Salir" 
    
    
menu_displayidMenu )
}

public 
menu_vaultidMenuitem )
{
    if( 
item == MENU_EXIT )
    {
        
menu_destroyMenu )
        return 
PLUGIN_HANDLED;
    }
    
    new 
iData[6], iAccessiCallbackiName[64]; 
    
menu_item_getinfoMenuitemiAccessiData5iName63iCallback )
        
    new 
Key str_to_numiData )
    
    if( 
gVerdurasid ][ Key ] == )
        return 
PLUGIN_HANDLED;
        
    
gVerdurasid ][ Key ]--
    
set_user_healthidget_user_healthid ) + VerdurasVidaKey ] )
    
client_printidprint_chat"[VERDURAS] Comiste %s y ganaste %d de vida!"VerdurasNombreKey ], VerdurasVidaKey ] )
    
clcmd_menu_vaultid )
    
    return 
PLUGIN_HANDLED;
}

public 
fw_PlayerKilledvictimattackershouldgib )
{
    if( 
is_user_connectedvictim ) )
    {
        
gPlataattacker ]++
        
client_printattackerprint_chat"[VERDURAS] Ganaste 1$" )
    }
}

public 
cmd_plataidlevelcid )
{
    if( !
cmd_access(idlevelcid) )
        return 
PLUGIN_HANDLED;
        
    new 
args[32]
    
read_argv1args31 )
    
    new 
player cmd_targetidargsCMDTARGET_ONLY_ALIVE CMDTARGET_ALLOW_SELF )
    
    if( !
player )
        return 
PLUGIN_HANDLED;
        
    new 
points[32]
    
read_argv2points31 )
    
    new 
amount str_to_numpoints )
    
    new 
name2[32]
    
get_user_nameplayername231 )
    
    
gPlataplayer ] = amount
    client_print
idprint_chat"[VERDURAS] Te dieron $%d pesos!"amount )
    
    return 
PLUGIN_HANDLED;

NO RIP (?

Pd. No estaba al pedo
__________________
First Zombie Class
[ZP] Zombie Class: Houndeye Zombie
Quote:
Originally Posted by lucas_7_94 View Post
tenes que saber pawn antes de intentar hacer algo digno.

Last edited by !Morte; 08-26-2011 at 21:34.
!Morte is offline
Send a message via MSN to !Morte Send a message via Skype™ to !Morte
091231238123
BANNED
Join Date: Aug 2011
Old 08-26-2011 , 19:43   Re: Verduleria Mod v1.0
#2

JAJAJA, que al pedo estas
091231238123 is offline
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 08-26-2011 , 20:25   Re: Verduleria Mod v1.0
#3

Sonido que puedes usar cuando el player se come una verdura.

Attached Files
File Type: zip hot_pickup.zip (47.0 KB, 74 views)
XINLEI is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 08-26-2011 , 21:00   Re: Verduleria Mod v1.0
#4

no hay espinaca, no lo uso
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
!Morte
Veteran Member
Join Date: May 2010
Old 08-26-2011 , 21:11   Re: Verduleria Mod v1.0
#5

Quote:
Originally Posted by Starsailor View Post
no hay espinaca, no lo uso
Jajaja, tenes razon :_ ahora agrego todas las verduras que hay en wikipedia ( y si comes espinaca te da super fuerza, corte re popeye (? jajaja
__________________
First Zombie Class
[ZP] Zombie Class: Houndeye Zombie
Quote:
Originally Posted by lucas_7_94 View Post
tenes que saber pawn antes de intentar hacer algo digno.
!Morte is offline
Send a message via MSN to !Morte Send a message via Skype™ to !Morte
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 08-26-2011 , 21:39   Re: Verduleria Mod v1.1
#6

jaja xD
__________________
Destro- is offline
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 08-27-2011 , 10:26   Re: Verduleria Mod v1.1
#7

Pone el include verduleria.inc, sino no va bldo
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
MisterDeath
BANNED
Join Date: Sep 2010
Location: pico pal q lee
Old 08-27-2011 , 17:07   Re: Verduleria Mod v1.1
#8

que chido e.e
MisterDeath is offline
Desktop
AlliedModders Donor
Join Date: Sep 2009
Location: C:\Users\Default\
Old 08-30-2011 , 16:01   Re: Verduleria Mod v1.1
#9

Okey
__________________
Massive Infection:: Piu-Games
Desktop is offline
AlgoChikitito
BANNED
Join Date: Feb 2011
Location: Espaņa
Old 08-30-2011 , 16:26   Re: Verduleria Mod v1.1
#10

1.1: Agregadas nuevas verduras, para crecer grande y fuerte

Yo Quiero ! Pon descripcion de l oque hace cada verdura?
AlgoChikitito 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 11:35.


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