Raised This Month: $12 Target: $400
 3% 

[DoD:S] Gun Menu


Post New Thread Reply   
 
Thread Tools Display Modes
DNA.styx
Member
Join Date: Dec 2023
Old 02-04-2024 , 16:20   Re: [DoD:S] Gun Menu
Reply With Quote #11

Thanks micmacx, will have another go with this plugin.

I persumed it was this line that forced the bots to pick a random weapon.

PHP Code:
/* OnClientPutInServer()
 *
 * Called when a client is entering the game.
 * ---------------------------------------------------------------------- */
public OnClientPutInServer(client)
{
    
// Show gun menu to normal players
    
PrimaryIndex[client]   =
    
SecondaryIndex[client] =
    
MeleeIndex[client]     =
    
GrenadeIndex[client]   =
    (
IsFakeClient(client)) ? RANDOM_WEAPON SHOW_MENU;    <----------

__________________
DNA.styx is offline
killemall4u
Junior Member
Join Date: Aug 2006
Location: Virginia
Old 05-14-2024 , 16:55   Re: [DoD:S] Gun Menu
Reply With Quote #12

This plugin used to give two Garand rife grenades. Now there is only one. Do you any idea how to fix it?
killemall4u is offline
Reply



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:13.


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