HL Player Models API 1.2 [Last Update: 02/07/2020]]
3 Attachment(s)
HL Player Models API
https://img.shields.io/badge/Author-rtxA-red https://img.shields.io/badge/Version-1.2-red https://img.shields.io/badge/Last%20...02/07/2020-red https://img.shields.io/badge/GitHub-...ode-blueviolet ☉ Introduction This API for Half-Life was made with the aim in mind of being able to use differents skins in Teamplay mode. Normally this is not possible without breaking the gameplay or making a lot of changes that will imply modify every plugin making it unpractical. Now with this you can add classes for a Zombie Mod, etc. ☉ Description This let you set custom models to the players and reset them to the default model. The custom model will stay until the player disconnects or you reset it manually. ☰ Natives PHP Code:
☉ Notes
I leave you this sample plugin called “Skin Menu” so you can test it. The skin list can be set in AMX Mod X config's folder creating this file using following format. skin-list.cfg PHP Code:
|
Re: HL Player Models API 1.1 [Last Update: 21/11/2019]]
## ☰ Changelog
Version 1.2 - Fixed possible crash with Info_RemoveKeyValue(). - Added ReAPI support (ReHLDS servers). |
Re: HL Player Models API 1.2 [Last Update: 02/07/2020]]
Tested with bugfixed HL 0.2.51 (59a2950), the latest version of ReHLDS. Tested with both Orpheu (my own signatures) and ReAPI. Code:
Code:
TEAMID 0 - k Mesa Code:
"mp_teamlist" is "Black Mesa;HECU" EDIT: Managed to solve it by editing the offsets-cbaseplayer.txt file. I just shifted the offsets by 4. Code:
"m_szTeamName" // char[16] |
Re: HL Player Models API 1.2 [Last Update: 02/07/2020]]
Quote:
Strange to me that you just needed to increase that offset, i wonder if there's a new HL Build |
Re: HL Player Models API 1.2 [Last Update: 02/07/2020]]
Hi, compiled everything but when the API loads still looking for Orpheu and it doesn't works
Running lastest ReHLDS version with ReAPI module running |
Re: HL Player Models API 1.2 [Last Update: 02/07/2020]]
even if you install orpheu and add function file this error is thrown:
Code:
L 04/05/2022 - 13:07:16: [ORPHEU] Function "SV_FullClientUpdate" not found |
Re: HL Player Models API 1.2 [Last Update: 02/07/2020]]
Thanks for reporting the issues, lexzor and jao6622. In a few days I should be uploading a new version with the fixes. Also I'm planning to improve the Skin Chooser plugin to show the skin selected in third-person mode.
Lexzor, I can't reproduce your error, make sure you are using latest HLDS build from SteamCMD and AMXX 1.9 or 1.10. jao6622, seems that my way to detect when ReAPI or Orpheu is available is not working as expected, should be fixed in next release. |
Re: HL Player Models API 1.2 [Last Update: 02/07/2020]]
Hello, I was wondering how did you obtain the client_s_offsets values. I want to do a similar implementation in another mod and thus I need to find the values.
|
Re: HL Player Models API 1.2 [Last Update: 02/07/2020]]
Quote:
|
Re: HL Player Models API 1.2 [Last Update: 02/07/2020]]
im having hl_player_models_api 1.2 crash on server start with a non discript error log, (ophou 2.6.3 and amxx 1.10, build 5467)
pastebin: https://pastebin.com/Ha8XQYME please lmk if you need more information, im new to amx x |
All times are GMT -4. The time now is 07:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.