Raised This Month: $51 Target: $400
 12% 

Player Models API


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-21-2010 , 09:14   Re: Player Models API
Reply With Quote #21

Code seems fine, please show the output of 'meta list', 'amxx list' and 'version' commands.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 03-23-2010 , 11:38   Re: Player Models API
Reply With Quote #22

Meta-list
Code:
16:29:16 Currently loaded plugins:
               description      stat pend  file              vers      src  load  unlod
          [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.1.3  ini  Start ANY  
          [ 2] Booster          RUN   -    booster_686_mm.d  v2.40     ini  Chlvl Pause
          [ 3] WebMod           RUN   -    w_mm.dll          v0.48     ini  Start Never
          [ 4] MySQL            RUN   -    mysql_amxx.dll    v1.8.1.3  pl1  ANY   ANY  
          [ 5] SQLite           RUN   -    sqlite_amxx.dll   v1.8.1.3  pl1  ANY   ANY  
          [ 6] Fun              RUN   -    fun_amxx.dll      v1.8.1.3  pl1  ANY   ANY  
          [ 7] CStrike          RUN   -    cstrike_amxx.dll  v1.8.1.3  pl1  ANY   ANY  
          [ 8] CSX              RUN   -    csx_amxx.dll      v1.8.1.3  pl1  ANY   ANY  
          [ 9] FakeMeta         RUN   -    fakemeta_amxx.dl  v1.8.1.3  pl1  ANY   ANY  
          [10] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.1.3  pl1  ANY   ANY  
          [11] Engine           RUN   -    engine_amxx.dll   v1.8.1.3  pl1  ANY   ANY  
         11 plugins, 11 running
amxx list:
Code:
16:31:32 Currently loaded plugins:
                name                    version     author            file             status   
          [  1] Set Player Model        0.0.1       ConnorMcLeod      set_player_mode  running  
          [  2] Traxx ultimate plugin   1.1         Idiotstrike       traxxultimate.a  running  
          [  3] AMXBans Admin rc5.1     1.8.1.3746  AMXBans Dev Team  admin_amxbans.a  running  
          [  4] AMXBans                 5.1rc       YoMama/Lux & lan  amxbans.amxx     running  
          [  5] AMX Super               4.2         Bmann_420         amx_super.amxx   running  
          [  6] AMX_Super Menu          0.8.1       Yami Kaitou       amx_super_menu.  running  
          [  7] Commencing Prevent      Nipsu       1.0               commencing_prev  running  
          [  8] Cheat Messages Ban      1.4         dr.aft            anti_say.amxx    running  
          [  9] Spin hack Detect        1.0.4       Strike            anti_spinhack.a  running  
          [ 10] Anti FastFire           1.2         Strike            anti_fastfire.a  running  
          [ 11] Files Check             1.0         ConnorMcLeod      anti_opengl.amx  running  
          [ 12] Admin Commands          1.8.1.3722  AMXX Dev Team     admincmd.amxx    running  
          [ 13] Admin Help              1.8.1.3722  AMXX Dev Team     adminhelp.amxx   running  
          [ 14] Slots Reservation       1.8.1.3722  AMXX Dev Team     adminslots.amxx  running  
16:31:32  [ 15] Multi-Lingual System    1.8.1.3722  AMXX Dev Team     multilingual.am  running  
          [ 16] Command Logging         1.4         $uicid3           command_logger.  running  
          [ 17] Menus Front-End         1.8.1.3722  AMXX Dev Team     menufront.amxx   running  
          [ 18] Commands Menu           1.8.1.3722  AMXX Dev Team     cmdmenu.amxx     running  
          [ 19] Players Menu            1.8.1.3722  AMXX Dev Team     plmenu.amxx      running  
          [ 20] Maps Menu               1.8.1.3722  AMXX Dev Team     mapsmenu.amxx    running  
          [ 21] Admin Chat              1.8.1.3722  AMXX Dev Team     adminchat.amxx   running  
          [ 22] Anti Flood              1.8.1.3722  AMXX Dev Team     antiflood.amxx   running  
          [ 23] Scrolling Message       1.8.1.3722  AMXX Dev Team     scrollmsg.amxx   running  
          [ 24] Info. Messages          1.8.1.3722  AMXX Dev Team     imessage.amxx    running  
          [ 25] Admin Votes             1.8.1.3722  AMXX Dev Team     adminvote.amxx   running  
          [ 26] NextMap                 1.8.1.3722  AMXX Dev Team     nextmap.amxx     running  
          [ 27] TimeLeft                1.8.1.3722  AMXX Dev Team     timeleft.amxx    running  
          [ 28] Pause Plugins           1.8.1.3722  AMXX Dev Team     pausecfg.amxx    running  
          [ 29] Stats Configuration     1.8.1.3722  AMXX Dev Team     statscfg.amxx    running  
16:31:32  [ 30] AMXX Psychostats        v1.2 by Dr  AMXX DoD Team     amx_psychostats  running  
          [ 31] Restrict Weapons        1.8.1.3722  AMXX Dev Team     restmenu.amxx    running  
          [ 32] StatsX                  1.8.1.3722  AMXX Dev Team     statsx.amxx      running  
          [ 33] CS Misc. Stats          1.8.1.3722  AMXX Dev Team     miscstats.amxx   running  
          [ 34] CS Stats Logging        1.8.1.3722  AMXX Dev Team     stats_logging.a  running  
          [ 35] SpecInfo                1.3.1       Ian Cammarata     specinfo.amxx    running  
          [ 36] Lame Connection Punish  1.1b        MeRcyLeZZ         lame_connection  running  
          [ 37] Full Server Idler Kick  0.1         VEN               full_server_idl  running  
          [ 38] GHW Say Commands        1.1         GHW_Chronic       GHW_Custom_Say_  running  
          [ 39] Hobo Crontab            1.1         hoboman313        hobo_crontab.am  running  
          [ 40] Half Life Media Player  3.0.0       ConnorMcLeod      hlmp.amxx        running  
          [ 41] [KzM] Script Detector   1.1         [KzM] Fatalis     anti_script.amx  running  
          [ 42] unknown                 unknown     unknown           status.amxx      bad load 
          [ 43] blockmaker              4.01        Necro             blockmaker.amxx  running  
          [ 44] DeagsMapManager         3.23        Deags/AMXX Commu  deagsmapmanager  running  
16:31:32  [ 45] Deathrun Shop           3.0         tuty              Deathrun_Shop.a  running  
          [ 46] Deathrun Manager        2.5.1       xPaw              DeathrunManager  running  
          [ 47] DRM: trigger_hurt fix   1.2         skyjur / xPaw     DRM_trigger_hur  running  
          [ 48] Sank Sounds Plugin      1.6.6d      White Panther, L  sank.amxx        running  
          [ 49] Map Spawns Editor       1.0.16      iG_os             spawn_editor.am  running  
          [ 50] Team Join Management    0.3         Exolent           team_join.amxx   running  
          [ 51] Throwing Knives         1.0.2       -]ToC[-Bludy/JTP  throwing_knives  running  
          [ 52] plugin_trail            1.3.1       Bahrmanou         plugin_trail.am  running  
          [ 53] TimeLimit vote          0.4         many              vote_timelimit.  running  
          [ 54] MystiQ Help menu        1.0         Strike            mystiqhelp.amxx  running  
          [ 55] Player Map Rank         3.4         Slurpy [COF]/|PJ  maprank.amxx     error    
          [ 56] [AMM]                   1.2         Taher Ali         amm.amxx         running  
          [ 57] Matrix Jump             1.5         OT                matrixjump.amxx  running  
          [ 58] All Chat                1.1         Ian Cammarata     allchat.amxx     running  
          [ 59] Chat Logger SQL         0.8b        naputtaja         chatlogs_27020.  running  
16:31:32  [ 60] auto kill & ban spec b  1.0         backstabnoob      specbug.amxx     running  
          [ 61] 3x fall dmg pro CT      strike      1.0               damagemult.amxx  running  
          [ 62] Buttons Delay Editor    1.3         xPaw              ButtonsDelayEdi  running  
          [ 63] No retry                1.16        Priski            antiretry.amxx   running  
          [ 64] banans                  0.0.1       strike            menutest.amxx    running  
         ( 42) Load fails: Plugin file open error (plugin "status.amxx")
         ( 55) Error: SQL Table Query failed.
         64 plugins, 62 running
version:
Code:
16:32:42 Protocol version 48
         Exe version 1.1.2.6 (cstrike)
         Exe build: 18:12:04 Apr 13 2009 (4554)
The build may be outdated and the plugin I'm talking about is the last one on the list.
Backstabnoob is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-23-2010 , 12:48   Re: Player Models API
Reply With Quote #23

I see nothing wrong.
Excepted AmxBans plugin, you should load every rd party plugins AFTER default amxx plugins.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 03-23-2010 , 13:49   Re: Player Models API
Reply With Quote #24

Well, but it doesn't work. Can you go on and try the code I posted before by yourself? That may help detecting what it is related to.
Backstabnoob is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 03-27-2010 , 13:04   Re: Player Models API
Reply With Quote #25

Good plugin!
dark_style is offline
Old 06-23-2010, 07:37
Arkshine
This message has been deleted by Arkshine.
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 08-13-2010 , 19:18   Re: Player Models API
Reply With Quote #26

Im using this api to set some Player Models in my Plugin, and it works well
without any SVC_BAD or Server crashes.

Good Job Connor!
platzpatrone is offline
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 03-05-2011 , 07:03   Re: Player Models API
Reply With Quote #27

I have a question before trying it out, does it cause overflow? Like player gets kicked because some reliable channel overflow etc
vL. is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-05-2011 , 07:06   Re: Player Models API
Reply With Quote #28

It could, depending on when you change models.
Better to use -link- if you can.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 03-05-2011 , 07:12   Re: Player Models API
Reply With Quote #29

Well basically I would have a menu with lets say 3 skins and there admins could choose one and every roundstart they get the same model.
vL. is offline
SeriousSam
Senior Member
Join Date: Aug 2009
Location: Bulgaria
Old 05-02-2011 , 12:13   Re: Player Models API
Reply With Quote #30

Great plugin, I use it on my server in a way that each class can choose a male or female model of that class. I also included 4 camouflage skins in each model. I'm setting it like this after the client chooses from a menu:

fm_set_user_model(id, "CTassaultM");
set_pev(id, pev_skin, pl_infos[id][2]);

Basically, if he is a counter-terrorist and choosed assault class, male character, he gets that model, and after that his pev_skin is set to whatever camouflage he choosed. It works fine so far, but when he gets killed, his corpse always has the first camouflage in the model, or in other words pev_skin 0. Can you tell me what exactly should I add in your code to make the corpse have the same skin as the player?
__________________
SeriousSam is offline
Send a message via Skype™ to SeriousSam
Reply



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 11:26.


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