DoD Plugins Archive
This site is an archive — everything is readable and downloadable, nothing can be posted.
Hello There, Guest!

Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DoD Admin Models
#1
Only for Amxmodx v1.75a / DoDx 1.75

This plugin will allow you to have your admins have their own sets of skins that all players who join your server will see. This will also alow you to easily Identify your own Clan Members.

Code:
// v0.1 - Be! // v0.2 - Added the dod_set_body // v0.3 - Added the ability to set the model body for each person dod_set_body // - Added menu for higher level admins to fiddle with their bodies // v0.4 - Updated for DoDx 1.75 // v0.4a - Fixed error in dod_client_changeteam where user joins spectator // v0.5 - Major fix, non admin players were getting models as the tracking number // was not getting reset when an admin dropped/quit/spectated // v0.5a - Fixed up some errors picked up by =|[76AD]|= TatsuSaisei // v0.5b - Added setting to change who can have the skin // 0.5b-1 - Fixed by Fysiks (debug cvar fix)

The following is the Models Used with this plugin:
https://www.dodplugins.net/forums/files/...Models.zip


Attached Files
.sma   dod_adminmodels.sma (Size: 10.04 KB / Downloads: 29)
1) Never forget that your weapon was made by the lowest bidder.
2) When the pin is pulled, Mr. Grenade is not your friend.
3) The most dangerous thing on the battlefield is an officer with a map.
4) Friendly fire has the right of way.
5) The only thing more dangerous than attracting enemy fire is attracting your Sergent attention.

Cheers!
Zor
#2
Shame this didnt compile.

the amxmodx compiler gives this error

/home/groups/amxmodx/tmp3/phpAU4HDd.sma(193) : error 017: undefined symbol "dod_set_body"
/home/groups/amxmodx/tmp3/phpAU4HDd.sma(207) : error 017: undefined symbol "dod_set_body"



any ideas
#3
yes, the niew command is dod_set_body_number() in amxmodx 1.75 but it does not function! Sad
Use, amxmodx 1.71 with dodx module 1.71b while waiting!
Moreover, the function public client_spawn () is not included in amxmodx 1.75a!
#4
this might be why:

dodx module:
Quote:/* Sets the model for a player */
native dod_set_body_number(id, bodynumber);

this plugin:
Quote:dod_set_body(id, body_number[id])

so in the plugin.. change "dod_set_body" to "dod_set_body_number" and it compiles fine on 1.75

***

and the:
Quote:public client_spawn(id)
function compiles fine for me...
#5
Wow That was quick thank you guys
#6
Yes, no error in the compile but client_spawn does not function in the game!
I thus have had to add register_event("ResetHUD","client_spawn","be") for my plugin dod_connection.
And dod_set_body_number() does not create an error in compile but it does not function in the game!

I wait the new version of amxmodx 1.75.
While waiting I keep amxmodx 1.71 and dodx module 1.71b

Wink
#7
dod_set_body_number works just fine. Im using it in the new version of my chicken plugin.
#8
it does not function with the “mdlT.mdl”. Is this possible?
#9
well


maybe try using this instead of the client_spawn:

Quote:/* This Forward is called when a player spawns */
forward dod_client_spawn(id);


*edit*
and as for the modelT.mdl ... are you trying to change the body number of the modelT.mdl? if so you should be doing it to the model.mdl
#10
hi,
Ok, now the forwarding dod_client_spawn() is good Smile
But, I the function dod_set_model () or dod_set_body_number() still does not function in my plugin.

So please see my plugin. Can be you will find my problem.Rolleyes
http://raph.be/telechargement/plugins/do...ection.sma
[url=http://wiki.amxmodx.org/index.php/Special:Search?search=dod_client_spawn&fulltext=Search][/url]


Possibly Related Threads…
Thread Author Replies Views Last Post
  DoD Admin Spectate ESP Zor 38 19,728 11-06-2008, 03:15 PM
Last Post: WARDOG

Forum Jump:


Users browsing this thread: 1 Guest(s)
DoD Plugins Archive · Repository · Return to Top · Current time: 08-29-2026, 06:13 AM Powered By MyBB, © 2002-2026 MyBB Group.