User
Pass
2FA
 
 

[rezolvat]Cerere Plugin Give_ap

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message1175
BooTz

[Account disabled]



Status: Offline
(since 29-08-2014 21:12)
Joined: 05 May 2013
Posts: 1592, Topics: 198
Location: Romania

Reputation: 32.1
Votes: 87

   
Post Posted: 14-08-2014, 13:56:18 | Translate post to: ... (Click for more languages)

Salut FreakZ.
Asi dori un plugin give_ap pentru un server zombie cu ammo .
Acest plugin asi dori sa pot da mai mult de 999 . Si sa functioneze .

@ edutz , @ Happy =]] , @ P!C@




Spoiler:

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
lemonEZAH

[Licensed to kill]



Status: Offline
(since 04-11-2019 15:30)
Joined: 28 Dec 2013
Posts: 7058, Topics: 351
Location: England

Reputation: 99.3
Votes: 483

Post Posted: 14-08-2014, 14:54:49 | Translate post to: ... (Click for more languages)

Spoiler:

0 0
  
Back to top
View user's profile Send private message
BooTz

[Account disabled]



Status: Offline
(since 29-08-2014 21:12)
Joined: 05 May 2013
Posts: 1592, Topics: 198
Location: Romania

Reputation: 32.1
Votes: 87

   
Post Posted: 14-08-2014, 16:15:03 | Translate post to: ... (Click for more languages)

@ VAly nu merge . Asta l-am incercat.



Spoiler:

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
lemonEZAH

[Licensed to kill]



Status: Offline
(since 04-11-2019 15:30)
Joined: 28 Dec 2013
Posts: 7058, Topics: 351
Location: England

Reputation: 99.3
Votes: 483

Post Posted: 14-08-2014, 16:21:23 | Translate post to: ... (Click for more languages)

Trebuie sa acces RCON.
0 0
  
Back to top
View user's profile Send private message
BooTz

[Account disabled]



Status: Offline
(since 29-08-2014 21:12)
Joined: 05 May 2013
Posts: 1592, Topics: 198
Location: Romania

Reputation: 32.1
Votes: 87

   
Post Posted: 15-08-2014, 13:10:07 | Translate post to: ... (Click for more languages)

Vreau sa imi modificati acest plugin sa pot da mai mult de 999 ammo .

Code:
#include <amxmodx>
    #include <amxmisc>
    #include <zombieplague>
   
    public plugin_init ()
    {
        register_plugin ( "ZP: Give Ammo", "1.0.0", "Armin" );
        register_clcmd ( "giveap", "CmdGiveAP", ADMIN_RCON, "- giveap <nume> <cantitatea> : Da Amoo Packs" );
    }
   
    public CmdGiveAP ( id, level, cid )
    {
        if ( !cmd_access ( id, level, cid, 3 ) )
        {
            return PLUGIN_HANDLED;
        }
       
        new s_Name[ 32 ], s_Amount[ 4 ];
       
        read_argv ( 1, s_Name, charsmax ( s_Name ) );
        read_argv ( 2, s_Amount, charsmax ( s_Amount ) );
       
        new i_Target = cmd_target ( id, s_Name, 2 );
       
        if ( !i_Target )
        {
            client_print ( id, print_console, "[ZP] Jucatorul nu a fost gasit " );
            return PLUGIN_HANDLED;
        }
       
        zp_set_user_ammo_packs ( i_Target, max ( 1, str_to_num ( s_Amount ) ) );
       
        return PLUGIN_HANDLED;
}




Spoiler:

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
GoguSM

[.: ZMGO.FREAKZ.RO :.]



Status: Offline
(since 16-03-2022 00:38)
Joined: 24 Aug 2013
Posts: 1516, Topics: 71
Location: Brasov

Reputation: 1144
Votes: 95

Post Posted: 15-08-2014, 13:46:59 | Translate post to: ... (Click for more languages)

Incearca asta eu il am si pot sa dau cat vreau eu
Code:
#include <amxmodx>
    #include <amxmisc>
    #include <zombieplague>
   
    public plugin_init ()
    {
        register_plugin ( "ZP: AMMOPACK", "2.0.1.4", "CeroCooL" );
        register_clcmd ( "zp_ammopack", "CmdGiveAP", ADMIN_RCON, "- zp_ammopack <name> <amount> : Give Ammo Packs" );
    }
   
    public CmdGiveAP ( id, level, cid )
    {
        if ( !cmd_access ( id, level, cid, 3 ) )
        {
            return PLUGIN_HANDLED;
        }
       
        new s_Name[ 32 ], s_Amount[ 12 ];
       
        read_argv ( 1, s_Name, charsmax ( s_Name ) );
        read_argv ( 2, s_Amount, charsmax ( s_Amount ) );
       
        new i_Target = cmd_target ( id, s_Name, 2 );
       
        if ( !i_Target )
        {
            client_print ( id, print_console, "(!) Player not found" );
            return PLUGIN_HANDLED;
        }
       
        zp_set_user_ammo_packs ( i_Target, max ( 1, str_to_num ( s_Amount ) ) );
       
        return PLUGIN_HANDLED;
}

0 0
  
Back to top
View user's profile Send private message
BooTz

[Account disabled]



Status: Offline
(since 29-08-2014 21:12)
Joined: 05 May 2013
Posts: 1592, Topics: 198
Location: Romania

Reputation: 32.1
Votes: 87

   
Post Posted: 18-08-2014, 07:23:39 | Translate post to: ... (Click for more languages)

Merge . Merci TheVipera .
@ edutz poti da T/C .




Spoiler:

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by -P!C@-, 18 August 2014 06:25



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  


The time now is 29-03-2024, 08:50:17
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x