| closedGrenade Load Out |
| Started by Ba5ic on 01-24-2009, 02:28 PM |
Threads: 26
Joined: Nov 2005
Hi ChapsrnrnA little guidance please, As you know when you spawn and depending on class, you get either 1 or 2 grenades.rnrnWhere and how do i increase this to say 3 or 4?.rnrnThanks in advance.
Threads: 75
Joined: Nov 2007
check this thread https://www.dodplugins.net/forums/showthread.php?t=1468
Threads: 26
Joined: Nov 2005
Thanks alot!
Threads: 26
Joined: Nov 2005
OK, I've been using Wislon's custom load out plugin, in all fairness he does say that there are glitches if you try to use it on a linux box, i.e.:rnrnMP40 = only 1 cliprnstg44 = only 3 clips etc etc....rnrnI not so bothered about extra clips for various classes or even extra nades at point own / respawn.rnrnI run the drop nades plugin and would like all players to be able to pick up, upto 4 nades of each, axis & allies.rnrnIs there a way of altering this by hard code rather than rely'ing on a plugin?rnrnJust the ability to pick up and carry more nades?.rnrnThanks In Advance
Threads: 75
Joined: Nov 2007
cant u by default carry like 5 of each? i can carry 5 stick_grenades, and atleast 2 hand_grenades at the same time...
Threads: 26
Joined: Nov 2005
cant u by default carry like 5 of each? i can carry 5 stick_grenades, and atleast 2 hand_grenades at the same time...rnrnHow?, default on the drop nades is like only 2 of each?
Threads: 103
Joined: May 2005
i thought its coded in dod that you can only have 3 allied nades.. i could be wrong, its been a while since i stocked up on nades lol
Threads: 75
Joined: Nov 2007
3 hand grenades and 5 stick grenades is the default max..rnrn
/* Plugin generated by AMXX-Studio */rnrn#include <amxmodx>rn#include <amxmisc>rn#include <hamsandwich>rn#include <dodx>rn#include <fun>rnrnrn#define PLUGIN "Grenade test"rn#define VERSION "1.0"rn#define AUTHOR "Dr.G"rnrnnew p_onrnrnpublic plugin_init()rn{rn register_plugin(PLUGIN, VERSION, AUTHOR)rn register_cvar("dod_give_nades", VERSION, FCVAR_SERVER|FCVAR_SPONLY)rn rn RegisterHam(Ham_Spawn,"player","func_HamSpawn",1)rn rn p_on = register_cvar("dod_give_nades","1") // Turns plugin on/off | 1=on 0=offrn}rnrnpublic func_HamSpawn(id)rn{ rn if(get_pcvar_num(p_on) && is_user_alive(id) && is_user_connected(id) && get_user_team(id)) rn { rn set_task(1.0,"give_hand_grenades",id)rn set_task(4.0,"give_stick_grenades",id)rn //set_task ( Float:time, const function[], id = 0, parameter[]="", len = 0, flags[]="", repeat = 0 ) rn }rn} rnrnpublic give_hand_grenades(id)rn{rn give_item(id, "weapon_handgrenade")rn client_print(id, print_chat, "Ummmm hand grenade...#1")rn give_item(id, "weapon_handgrenade")rn client_print(id, print_chat, "Ummmm hand grenade...#2")rn give_item(id, "weapon_handgrenade")rn client_print(id, print_chat, "Ummmm hand grenade...#3")rn give_item(id, "weapon_handgrenade")rn client_print(id, print_chat, "Ummmm hand grenade...#4")rn give_item(id, "weapon_handgrenade")rn client_print(id, print_chat, "Ummmm hand grenade...#5")rn}rnrnpublic give_stick_grenades(id)rn{rn give_item(id, "weapon_stickgrenade")rn client_print(id, print_chat, "Ummmm stick grenade...#1")rn give_item(id, "weapon_stickgrenade")rn client_print(id, print_chat, "Ummmm stick grenade...#2")rn give_item(id, "weapon_stickgrenade")rn client_print(id, print_chat, "Ummmm stick grenade...#3")rn give_item(id, "weapon_stickgrenade")rn client_print(id, print_chat, "Ummmm stick grenade...#4")rn give_item(id, "weapon_stickgrenade")rn client_print(id, print_chat, "Ummmm stick grenade...#5") rn}

