Raised This Month: $ Target: $400
 0% 

Hook player model change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MrPickles
Senior Member
Join Date: Aug 2022
Location: Colombia
Old 10-11-2022 , 21:16   Re: Hook player model change
Reply With Quote #10

Quote:
Originally Posted by Celena Luna View Post
I think what he mean is he want to hook the moment the model changed.
For example, when your character class change in middle of the round, you can't update the array by anymean, except by using native (if the model change is from other plugins)
I don't think there is something specific for that, what I wrote was so that every time it respawned, it would take the current model, so it will always check if the model changed, what I could also do is take the change team event, but independently of that, each team has different characters, and if you also only want to change the character and not the team, it would not detect it, so the code I wrote is more secure, there is (I think) no event or message to register that model change
MrPickles 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 15:33.


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