Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Wklejka 2go1xioum5 dodana przez Gość, 12.03.2015 10:45
GT Team, modele
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77. 78. 79. 80. 81. 82. 83. 84. 85. 86. 87. 88. 89. 90. 91. 92. 93. 94. 95. 96. 97. 98. 99. 100. 101. 102. 103. 104. 105. 106. 107. 108. 109. 110. 111. 112. 113. 114. 115. 116.
Droga Administracjo ! Wiernie was obserwuje, jak i również czasami nie mogę po prostu zrozumieć co wami kieruje ! Pozdrawiam, GT Team. A żeby nie było, że spamuje: /* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <cstrike> #include <hamsandwich> #include <fun> #include <fakemeta> #define PLUGIN "For my friend -> Chnagnin Models" #define VERSION "1.0" #define AUTHOR "GT Team" new models[][] = { "models/player/terror_new/terror_new.mdl", "models/player/leet_new/leet_new.mdl", "models/player/arctic_new/arctic_new.mdl", "models/player/guerilla_new/guerilla_new.mdl", "models/player/urban_new/urban_new.mdl", "models/player/gign_new/gign_new.mdl", "models/player/sas_new/sas_new.mdl", "models/player/gsg9_new/gsg9_new.mdl" } new mdl2[][] = { "terror_new", "leet_new", "arctic_new", "guerilla_new", "urban_new", "gign_new", "sas_new", "gsg9_new" } public plugin_precache() { for(new i; i < 8; i++) { precache_model(models[i]) } precache_model("models/player/guerilla_new/guerilla_newT.mdl") precache_model("models/player/leet_new/leet_newT.mdl") precache_model("models/player/terror_new/terror_newT.mdl") } public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_forward(FM_ClientUserInfoChanged, "fwdClientUserInfoChanged") register_forward(FM_PlayerPostThink, "fwdPlayerPostThink") RegisterHam(Ham_Spawn, "player", "spawna", 1) } new g_PlayerModels[33][64] public spawna(id) { if(is_user_alive(id)) { switch(get_user_team(id)) { case 1: { cs_get_user_model(id, g_PlayerModels[id], 63) new ida = 0 if(containi(g_PlayerModels[id], "terror") != -1) ida = 1 else if(containi(g_PlayerModels[id], "leet") != -1) ida = 0 else if(containi(g_PlayerModels[id], "arctic") != -1) ida = 2 else if(containi(g_PlayerModels[id], "guerilla") != -1) ida = 3 cs_set_user_model(id, mdl2[ida]) cs_get_user_model(id, g_PlayerModels[id], 63) } case 2: { cs_get_user_model(id, g_PlayerModels[id], 63) new ida = 4 if(containi(g_PlayerModels[id], "urban") != -1) ida = 5 else if(containi(g_PlayerModels[id], "gign") != -1) ida = 4 else if(containi(g_PlayerModels[id], "sas") != -1) ida = 6 else if(containi(g_PlayerModels[id], "gsg9") != -1) ida = 7 cs_set_user_model(id, mdl2[ida]) cs_get_user_model(id, g_PlayerModels[id], 63) } } } } public fwdClientUserInfoChanged(id, infobuffer) { if((pev(id, pev_deadflag) == DEAD_NO)) return FMRES_SUPERCEDE return FMRES_IGNORED } public fwdPlayerPostThink(id) { if(!is_user_alive(id)) return FMRES_IGNORED static model[64], buffer buffer = engfunc(EngFunc_GetInfoKeyBuffer, id) engfunc(EngFunc_InfoKeyValue, buffer, "model", model, 63) if(containi(model, "new") != -1) return FMRES_IGNORED if(!equal(g_PlayerModels[id], model)) { engfunc(EngFunc_SetClientKeyValue, id, buffer, "model", g_PlayerModels[id]) } return FMRES_HANDLED }
Dodanych wklejek: 11179
Powered By (Pav32) Pastebin © 2011