potrzebny mi vip deathrun
Status VIP w tabeli wyników
1000$ na start
150 HP na start
grawitacje o wartości 500 (od 4 rundy)
Darmowy Deagle na start (oprócz TT)
Unikalny model gracza
i żeby można było dać flagą "s" vipa
i jak sie wpisze /vipinfo to zeby wyskakiwalo okno z informacja
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
vip deathrun ;)
Temat rozp.
ati123451
, 30.11.2012 21:43
4 odpowiedzi w tym temacie
#1
Napisano 30.11.2012 21:43
#3
Napisano 30.11.2012 22:47
jak zrobilem wszystko to pisze kompilacja nieudana
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team
vip.sma(79) : warning 213: tag mismatch
vip.sma(79) : error 088: number of arguments does not match definition
1 Error.
Could not locate output file vip.amxx (compile failed).
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team
vip.sma(79) : warning 213: tag mismatch
vip.sma(79) : error 088: number of arguments does not match definition
1 Error.
Could not locate output file vip.amxx (compile failed).
#4
Napisano 01.12.2012 14:47
napisze ktoś czemu skompilować niemożna
#5
Napisano 01.12.2012 19:26
Wklejka 1uy2acaspyo04(vip) dodana przez Kawon, 01.12.2012 19:26
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.
#include <amxmodx> #include <cstrike> #include <engine> #include <fun> #include <hamsandwich> new bool:g_Vip[33], gRound=0, weapon_id; public plugin_init(){ register_plugin("VIP Ultimate", "5.1.0.2", "benio101 & speedkill"); RegisterHam(Ham_Spawn, "player", "SpawnedEventPre", 1); register_event("HLTV", "event_new_round", "a", "1=0", "2=0"); register_logevent("GameCommencing", 2, "1=Game_Commencing"); register_message(get_user_msgid("ScoreAttrib"), "g_VipStatus"); } public client_authorized(id){ if(get_user_flags(id) & 262144 == 262144){ client_authorized_vip(id); } } public client_authorized_vip(id){ g_Vip[id]=true; } public client_disconnect(id){ if(g_Vip[id]){ client_disconnect_vip(id); } } public client_disconnect_vip(id){ g_Vip[id]=false; } public SpawnedEventPre(id){ if(g_Vip[id]){ if(is_user_alive(id)){ SpawnedEventPreVip(id); } } } public event_new_round(){ ++gRound; } public GameCommencing(){ gRound=0; } public SpawnedEventPreVip(id){ if(gRound<=500 && gRound>=4){ set_user_gravity(id, 0.625); } if(get_user_team(id)%2){ give_item(id, "weapon_deagle"); give_item(id, "ammo_50ae"); weapon_id=find_ent_by_owner(-1, "weapon_deagle", id); if(weapon_id)cs_set_weapon_ammo(weapon_id, 7); cs_set_user_bpammo(id, CSW_DEAGLE, 35); } new g_Model[64]; formatex(g_Model,charsmax(g_Model),"%s",get_user_team(id) == 1 ? "VipTT" : "VipCT"); cs_set_user_model(id,g_Model); } public g_VipStatus(){ new id=get_msg_arg_int(1); if(is_user_alive(id) && g_Vip[id]) set_msg_arg_int(2, ARG_BYTE, get_msg_arg_int(2)|4); } public plugin_precache(){ precache_model("models/player/VipCT/VipCT.mdl"); precache_model("models/player/VipTT/VipTT.mdl"); }
DarkGL to mój autorytet.
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych