Raised This Month: $ Target: $400
 0% 

Shield Deploy


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 05-08-2012 , 03:16   Shield Deploy
Reply With Quote #1

Hey guys,

I tried using few methods of FakeMeta to detect when player has deployed a Shield. I want the plugin to call a function when the player, for example, picks up a riot shield from the floor ("weapon_shield").

I tried FM_PrecacheModel, it doesn't call the function when the model is shield for some reason, the fact I know this is cuz I hooked it up and client_print'd every model called on this function.

I tried FM_ModelIndex, It's good it's calling it but in a really fast frequency and I don't know how to get the player's ID who just picked that Shield up, also that when I forward_return(FMV_CELL, 0) it fucks things up.

I also used FM_ModelFrames and FM_SetModel, wasn't much of a help too.

What should I do??
Thanks.
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable 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 00:19.


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