Raised This Month: $ Target: $400
 0% 

[BM] Weapon Slot in Black-Mesa Source


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 11-05-2022 , 20:06   [BM] Weapon Slot in Black-Mesa Source
Reply With Quote #1

Hello, i am trying to hook players weapons slots in Black-Mesa Source.

PHP Code:
...
for (new 
slot 0slot <= 5slot++)
{    
   new 
ent GetPlayerWeaponSlot(clientslot);
   if (
ent != -1)
   {            
      new 
String:EdictName[128];
      
GetEdictClassname(entEdictNamesizeof(EdictName));

      
PrintToChat(client"Slot: %i --> Weapon: %s"slotEdictName );
   }
}
... 
Unfortunately in "BM" there are several weapons in one slot.

Any Ideas?

Thanks in advance
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 11-06-2022 at 05:58.
HSFighter is offline
Send a message via ICQ to HSFighter
 



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 07:50.


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