Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

MYGO.pl

RSSy
  • Postów

    28654
  • Dołączył

  • Ostatnia wizyta

    nigdy
  • Wygrane w rankingu

    11

Treść opublikowana przez MYGO.pl

  1. MYGO.pl

    custom votemap

    can some one help me with a votemap plugin that will take vote based on players in the server for eg. 1-8 players will have different maps after 8 players some different maps Przeczytaj cały wpis
  2. Hello, im asking one plugin for chat control i mean some players make spam to repate same message p.s I want admin (x9) for second or write in chat hahahahaahahhahahahahahahahahahahhaahahhahaha hahaaahaha im tired do you know any solution Przeczytaj cały wpis
  3. Plugin which 1v1 on a box in the 35hp maps when u say /duel got menu and ask someone for duel i find it but all of them dont work like in this video https://www.youtube.com/watch?v=Q8LgPfWqafo Simple to make? Someone who can make it? Przeczytaj cały wpis
  4. Its been a Long time since this game has seen a new update or release under the Roleplay GameMode. SO I figured you guys deserve this. I sure hope it gets used.. I started this project earlier this year. I managed to get a bit of attention with it earlier in 2019 but it actually died off sadly. That doesnt mean I'm done in this game though. Working on new game modes, Launching Master(D) RP Mod v6 soon, aswell as changing the way we look at 'Menus' by developing MOTD style menus integrated into the game modes through MySql (basically eliminating the ESC menu we all know and hate). With all this going on I plan to do all I can to make this Roleplay mod release my responsibility to keep up with as far as bugs fixes etc, keep updates rolling for you all to have something fresh to use and updates to look forward to. (I hope too see suggestions so I can consider new ideas because I really want you guys to love this. Also REPORT BUGS as and if you find any for next update to have fixes, or even an immediate fix) Why? Because the simple fact I want to see all the beautiful people return who once made this legendary game great. Hopefully I'm able hit my mark, so players will come and shine with their unique characters and personalities along with the ability to give a died off, once populated game a new meaning, and so hopefully i inspire other developers/server communities to return or start on a path to creating a great server, because the game modes i have planned aswell as rp features Is really an effort to speed up the pace of action and to blow minds and to show the potential in this DM Branch of HL2, WHICH NO OTHER GAME COULD EVER MIMIC THE TRIPPY/CHILL OR FAST ENVIRONMENT IT HAS. Also of course to create new gaming content to a once loved mod to be enjoyed by all the wonderful people interested in Roleplay and/or hl2dm. I also hope to use this for a chance of publicity to get you all ready for whats coming > : D like for example; falloutrpg, zs, _ and more like ELIMINATING ESC MENUS for motd sites, which all of this will give HL2DM would have a new feel and a new SPARK. Maybe this will be the next official branch in RP... Or just a laughed at project, either or; My ambition thrives as I plan to exceed in the work I do, and forces me to have passion in this game and never let that go, because if I dont persue this for the players, who will.... Cold? lol no... joke on a server community there<- If this does appeal to the eye of this community, speak out, suggest, give feedback, constructive criticism and I'll be even more obligated to keep this alive and well maintained, even without the support I plan to continue supporting this MOD and possibly rolling out rootine updates creating new fun features what ever it may be. (Jobs, Roleplay features) I'm open to pretty much any and all suggestions, if I can make it happen, still learning haha. JUST KEEP IN MIND; THIS IS HERE FOR YOU GUYS, THE PLAYERS!!!!!! With that being said if you see something that could be made better or anything from to entirely new features and unique ideas, I need those. Contact info/links at bottom. Concluding that crazy but yet informational rant about my passion/plans and reason for posting, Lets get down to business about this release. Im here for the sole purpose to release my work, and maybe become an active member here if things go right; Reguardless no matter what scenario I need to clean up and organize these files XD oh well. If I ever want to make this "Official Official" i need your help and motivation! Hopefully one's reputation that has been built in a manner like mine or just the sense of reading someone's by their character because of how they speak and represent their work and/or passion should allow you all to believe me when I say there are NO malisious files, plugins, cfg scripts etc (OR ANY F***ERY) that will or could alter or jeopardize the server in anyway by creating any weaknesses, grant admin or create backdoors, kick/ban/target anyone, give special abilities/access or anything that will single a player out by a preset steam id in this pack (Except my Chat tag and join message, I deserve that), Look into this, if you do test and run this consider ALL these plugins. I say this with confidence because ALMOST each and every one was picked carfully and put there for a soul purpose and usually an important one. There is multiple people's work Which I need to shout out a big things for being apart of this release. ๖ۜAdRiAnIlloO ㋡ Thanks for helping with Advice for Stability issues, the cvars for smooth game play and some that prevented Crash issues, Last but not leaset your Region/Phones Plugin (Best i've ever seen) - You're Amazing :) and a HUGE THANKS to Master(D), im sure you already know, if not go check up on his work. Basically he's given me all of his his resources through out the years as far as mods, code to study from, let me host his mod and be apart of something amazing working a legend by allowing me to be apart of debugging his roleplay game mode earlier this year and providing help when we needed a helping hand for guidance. Master youre the best. Both of these gentleman have work in this release as well. I ALSO have some other official release plugins id like to give credit to and thank all of you wodnerful developers for making SM_nukem, cheat-control, sm_downloader, entcontrol, infinite-jumping, celmod(old ver baby), hp regeneration, steamworks, steamtools (Sorry if I missed ya, Contact me if I didnt give you or somoeone the propper credit) I apologize in advance for the fact my entire project might seem a bit messy, but there is a method for my madness I proomise xD, I just think that In my attempt to hit targets that NO OTHER official released RolePlay mod in the HL2:DM Rp community has ever hit and I became proud of this project and feel obligated to share with the community that made me. The files I am releasing are basically copies/backups of my CURRENT project which was live not too long ago. I guess I made into sort of a release format, considering I finally gathered a change log into one place and I added some cvars where they could come in handy for any new server. You guys deserve it! Install Guide (Nicks Mod install guide) ChangeLog and All info I could think of you may need to know. This basically a list I gathered since I started that i havn't kept up with very well, basically of all the changes i've made i started on the Official Realease of Nicks 3.2.35n Roleplay earlier this year, Remember cactuses? haha good times (I feel like I still left something out that that i changed or made better XD) -Custom Guns, Spawn with Fists -New Items: Player Colors, Weapon Arsanls 1-4, AirBoat, Juggernaut, Skeleton Key, 16 New Guns (HOLD R), Pets, Nuke, Drug Mixes, Tele End/Start, Dice, Search Warrent, Jetpack, -1Star Crime, Bit of housing props, FreedomCard !breakcuffs, Money Printer, Locks/Lockbreakers up to 500, (4) Cuff Saw - Economy readjusted - New Terrorist Job allowing you to make $750 for every kill ingame!!! cvar editable sv_tpay - Cop Double XP Cvar, Jobs Payout Adjusted (Pay has been increased almost all jobs) - New cop resupply npc with resupply option and juggernaut option new npc to buy cop position and you can now buy and sell Respect which gives weapons on spawn as rebel, more drugs, more printers -Added new party system. Type !call name to enter and call /answer & /hangup and use team chat for region or pm when in a call. !settings allows you to disable phone, switch to region voice chat only and hide from region! -Added Roll The Dice Buy dice items and !rtd -When selling door, door locks set to 0, and locks put in inventory. New /lockreturn # allows you to sell all single locks. - New Warrant Item. Cops can use this item to open doors! !kickdoor cannot open doors with more than 1000 locks! -Hitman job! 5k per hit! Press E then ESC on a hitman today to place a hit, or be the hit :D -/push -Changed up Cop Jobs EXP (auto employ system) -Respect Updated heavily. Allows more drugs/printers to be unlocked, more guns, etc (a lot of potential) -New ways to gain Respect(RebelXP) Selling Drugs at max Grams or more, Collecting a Full Printer you own, Delivering Drugs, Completing a HIT -Bongs are now smokable! Press E on a bong today! -Drugs Updated, /plant /oxy /rockitup -Buffed pay on cop jobs, robber <- watch out for these -Added 40+ new props to furniture store. -Cvars to edit a lot more than before! -Gta stars - Counterfeiter Job (Can use money printer Items) - Quick Deposit and Drug Sell (DOUBLE TAP E) - Locks and LockBreaker in multiples - Dynamic Drug Models - New Hud for all drugs and printers (weed plant is only unfroozen prop) -New stability systems in place, to prevent server from crashing! -Rootine map Restart changed to 3 days to prevent lag -Rootine trash cleanup every 60 minutes and this also activates if the server hits 1450 entities. -Reload Key now works to open ALL door menus, opens inventory and pockets your printers -Chat Tags. Configurable cvars for Owner Steamid and 5 admins. Anyone can put {anycolor} in chat or in their name -New "/lockreturn #" Command. Used for getting money for 'SINGLE Locks' after selling a door. -New Salesman Job. /type command -New BailBond NPC -New Commands sm_restartmap ADMFLAG_CUSTOM2 "Restarts the map, 3 minute timer. sm_autorestart ADMFLAG_CUSTOM2 "Enables/disables 3 day auto restart of the map. DO NOT RECOMMEND DISABLING sm_rootrestart ADMFLAG_ROOT "Restarts the map instantly. 5 SECOND COUNTDOWN sm_setpropsused "<Target> <Amount> - Sets ammount used props. Set 0 to allow more" sm_lockreturn "<AMOUNT> sellback single locks" +sm_jetpack -sm_jetpack sm_rtd sm_rollthedice -New Cvars sv_maxmollylabs", "10", "[ERP] Max molly ops"); sv_maxmollypills", "500", "[ERP] Max molly pills"); sv_maxcracklabs", "2", "[ERP] Max Meth Labs To be Spawned"); sv_maxcrackgrams", "100", "[ERP] Maximum purity of a crack operation", FCVAR_NOTIFY); sv_crackworth", "100", "[ERP] Worth of each gram of crack when selling (Default 100)"); sv_crackgramgrowth", "1", "[ERP] Meth Gram growth rate (Default 1 Percent)"); sv_mollyworth", "10", "[ERP] Oxy Value"); sv_mollygrowth", "5", "[ERP] Oxy growth rate"); sm_jetpack = sm_jetpack", "1", "", FCVAR_REPLICATED | FCVAR_NOTIFY); sm_jetpack_sound = sm_jetpack_sound", g_sSound, ""); sm_jetpack_speed = sm_jetpack_speed", "100", ""); sm_jetpack_volume = sm_jetpack_volume", "0.5", ""); sv_deliverprofit", "5000", "{green}[RP]{default} Profit a player gets for delivering"); sv_vipdeliverprofit", "7500", "{green}[RP]{default} Profit a vip player gets for delivering"); sv_deliverprofitgrams", "200", "{green}[RP]{default} Profit the person being delivered to gets"); sv_savejobs", "0", "[RP] Modes: 0 = Disable, 1 = Enable"); sv_ownersteam", "", "[RP] SeamId for chat STEAM_0:0: __"); sv_admin1steam", "", "[RP] SeamId for chat STEAM_0:0: __"); sv_admin2steam", "", "[RP] SeamId for chat STEAM_0:0: __"); sv_admin3steam", "", "[RP] SeamId for chat STEAM_0:0: __"); sv_admin4steam", "", "[RP] SeamId for chat STEAM_0:0: __"); sv_admin5steam", "", "[RP] SeamId for chat STEAM_0:0: __"); sv_rulesurl", "", "[RP] URL"); sv_forumurl", "", "[RP] URL"); sv_motdurl", "", "[RP] URL"); sv_adminssurl", "", "[RP] URL"); sv_printerworth", "75", "[RP] Printer tick increase rate. 75 = default"); sv_robworth", "15", "[RP] Robber value multiplied . 15 = default"); sv_gramgrowth", "12", "{green}[RP]{default} Gram growth rate (Default 5 Percent)"); sv_gramworth", "5", "{green}[RP]{default} Gram Worth (Defaul 5 Dollars)"); sv_tpay", "750", "{green}[RP]{default} Terrorist pay out (Defaul 750 Dollars)"); sv_doublexp", "0", "{green}[RP]{default}Combine Double Xp Mod by dezz (Default 0 Off)"); sv_dicetime", "120", "Amount of time between roll-the-dice intervals", FCVAR_NOTIFY); sv_delivertime", "300", "Amount of time between deliver times", FCVAR_NOTIFY); sv_maprestart", "1", "[RP] Modes: 0 = Disable, 1 = Enable"); -NEW GANGS System, available for purchase at GANG NPC! Choose Lvl 1-3 gang to purchase. Press e then escape on other players to make them members. Gang jobs give guns on spawn, and access to diferent money making systems. -New Weblinks, easily configured !yt !rapcaviar !sc are set. MOTD shows on join !motd !rules !admins !forum sv_motdurl sv_rulesurl sv_adminssurl sv_forumurl - Antlion Guards and Zombie spawns completely customizable Cvars and CMDS z_enabled 0-1 enables disables antlion guards z_enabled1 0-1 z_addspawn - adds spawn point to antlionguard z_addspawn1 - adds spawn point to zombie antlionguard files(MUST BE PRESENT OR GAME SERVER WILL CRASH OR BUG) hl2mp/cfg/zombiefrequencies.cfg hl2mp/cfg/zombiepopulations.cfg hl2mp/cfg/MAP%NAME/zombiespawns.cfg zombie files(MUST BE PRESENT OR GAME SERVER WILL CRASH OR BUG) hl2mp/cfg/zombiefrequencie1s.cfg hl2mp/cfg/zombiepopulation1s.cfg hl2mp/npcspawns/zombiespawns.cfg -CRASH FIXES, BUG FIXES, MANY MORE IMPROVEMENTS When buying a door in this mod and having access to the vip you get locks on your door as soon as you purchase them. (Abuse Proof, cant spawn locks) Vip level 1 starts with 25 doors per door Vip level 2 starts with 50 doors per door Vip level 3 starts with 100 doors per door Robber: 1: As a robber, you can rob Vendors and Bankers by pressing shift twice. 2: You must stay in range of the vendor/banker and you get an instant bounty, WATCH YOUR BACK! 3: If you get caught by the police or bounty claimed, you loose all your cash on hand. Team up and use the calling! Pharmacist 1: As a Pharmacist you produce Oxy/Molly Pills 2: You must type /oxy and have the required item in inventory to place one 3: Sell to the Drug Seller npc Chemist 1: As a Chemist you produce meth 2: You must type /rockitup and have the required item in inventory to place one 3: Sell to the Drug Seller npc Drug Addict 1: As a drug addict, you can grow drugs by planting seeds by typing /plant! 2: As you plant seeds, your crime will rise. Watch out for cops! 3: As time permits, plants will max out at 600 grams! 4: Cops and other players can destroy/steal your plants. 5: You can also lose drugs by going to jail or someone has killed you. 6: Income: $5 per gram sold to a vendor. 7) Under 600 Respect = 6 plants. 600Respect = 7 plants. 1200Respect = 8 plants. 1800Respect = 9 plants. Counterfeiter 1: As a Counterfeiter, you can use printers from inventory to print money! 2: You can have 1 printer that maxes out at $15,000! 3: Dont forget to deposit your money, as you drop it when you die! 4: Under 1000Respect = 1 printer. Over 1000Respect = 2 Printers! Hitman 1: As Hitman your job is to kill people for Cash! 2: You must get players to press E then on you and select place a hit! 3: You will have a line directing you striaght to the victims position. DONT DIE, you're supposed to be a professional! 4: Players must have $5,000 Cash on person to place a hit and will be refunded if you fail to complete the hit. Terrorist 1: As a terrorist kill people for Cash! 2: Each kill gives you $750 deafualt. WE change this sometimes! SalesMan 1: You sell items to other players! 2: /type is the command to choose the type of items to sell! Gang Member Level 1 & Gang Leader Level 1 1: As a LVL 1 GANG YOU CAN USE THESE MONEY MAKING METHODS! 2: PLANTING OXY, METH, AND PRINTING! 3: You also get guns on spawn! Gang Member Level 2 & Gang Leader Level 2 1: As a LVL 2 GANG YOU CAN USE THESE MONEY MAKING METHODS! 2: PLANTING, OXY, METH, PRINTING AND DRUG DELIVERING! 3: You get greater profit from delivering as this job! 4: You also get guns on spawn! Gang Member Level 3 1: As a LVL 3 GANG MEMBER YOU CAN USE THESE MONEY MAKING METHODS! 2: PLANTING, OXY, METH, PRINTING AND DRUG DELIVERING! 3: You get greater profit from delivering as this job! 4: You also get guns on spawn! Gang Leader Level 3 1: As a LVL 3 GANG YOU CAN USE THESE MONEY MAKING METHODS! 2: PLANTING, OXY, METH, PRINTING AND DRUG DELIVERING! 3: You get greater profit from delivering as this job! 4: You Can plant 9 plants and 2 printes, W/O having the respect! 5: You also get guns on spawn! Cop XP (Auto Promoting system) Code: if(ExpCombine[Combine] == 50 && StrContains(Job[Combine], "Recruit", false) != -1) { Job[Combine] = "Police Officer"; OrgJob[Combine] = "Police Officer"; CPrintToChat(Combine, "[RP] You have been promoted to: Police Officer. Next promotion at 150 XP."); Save(Combine); } else if(ExpCombine[Combine] == 150 && StrContains(Job[Combine], "Officer", false) != -1) { Job[Combine] = "Police Senior Officer"; OrgJob[Combine] = "Police Senior Officer"; CPrintToChat(Combine, "[RP] You have been promoted to: Police Senior Officer. Next promotion at 300 XP."); Save(Combine); } else if(ExpCombine[Combine] == 300 && StrContains(Job[Combine], "Senior", false) != -1) { Job[Combine] = "Police Jail Guard"; OrgJob[Combine] = "Police Jail Guard"; CPrintToChat(Combine, "[RP] You have been promoted to: Police Jail Guard. Next promotion at 400 XP."); Save(Combine); } else if(ExpCombine[Combine] == 400 && StrContains(Job[Combine], "Guard", false) != -1) { Job[Combine] = "Police Chief"; OrgJob[Combine] = "Police Chief"; CPrintToChat(Combine, "[RP] You have been promoted to: Police Chief. Next promotion at 500 XP."); Save(Combine); } else if(ExpCombine[Combine] == 500 && StrContains(Job[Combine], "Chief", false) != -1) { Job[Combine] = "Police Medic"; OrgJob[Combine] = "Police Medic"; CPrintToChat(Combine, "[RP] You have been promoted to: Police Medic. Next promotion at 800 XP."); Save(Combine); } else if(ExpCombine[Combine] == 800 && StrContains(Job[Combine], "Medic", false) != -1) { Job[Combine] = "SWAT"; OrgJob[Combine] = "SWAT"; CPrintToChat(Combine, "[RP] You have been promoted to: SWAT. Next promotion at 1100 XP."); Save(Combine); } else if(ExpCombine[Combine] == 1100 && StrContains(Job[Combine], "SWA", false) != -1) { Job[Combine] = "SWAT Leader"; OrgJob[Combine] = "SWAT Leader"; CPrintToChat(Combine, "[RP] You have been promoted to: SWAT Leader"); Save(Combine); } cop jobs Code: "Police Recruit" { "suit" "50" "health" "100" "model" "models/police.mdl" } "Police Jail Guard" { "weapon_frag" "1" "weapon_crossbow" "1" "weapon_shotgun" "1" "weapon_smg1" "1" "item_ammo_crossbow" "1" "item_box_buckshot" "1" "item_ammo_smg1_large" "1" "suit" "100" "health" "100" "model" "models/combine_soldier_prisonguard.mdl" } "Police Officer" { "weapon_frag" "1" "weapon_shotgun" "1" "item_box_buckshot" "1" "suit" "50" "health" "100" "model" "models/police.mdl" } "Police Senior Officer" { "weapon_frag" "1" "weapon_shotgun" "1" "weapon_smg1" "1" "item_ammo_smg1_large" "1" "item_box_buckshot" "1" "suit" "75" "health" "100" "model" "models/police.mdl" } "Police Chief" { "weapon_frag" "1" "weapon_crossbow" "1" "weapon_shotgun" "1" "weapon_smg1" "1" "item_ammo_crossbow" "1" "item_box_buckshot" "1" "item_ammo_smg1_large" "1" "suit" "100" "health" "125" "model" "models/police.mdl" } "Police Medic" { "weapon_frag" "1" "weapon_crossbow" "1" "weapon_shotgun" "1" "weapon_smg1" "1" "weapon_357" "1" "item_ammo_crossbow" "1" "item_box_buckshot" "1" "item_ammo_smg1_large" "1" "item_ammo_357_large" "1" "suit" "125" "health" "125" "model" "models/police.mdl" } "SWAT" { "weapon_357" "1" "weapon_smg1" "1" "weapon_slam" "1" "weapon_rpg" "1" "weapon_frag" "1" "weapon_crossbow" "1" "weapon_shotgun" "1" "item_ammo_smg1_large" "1" "item_ammo_smg1_grenade" "1" "item_ammo_crossbow" "1" "item_box_buckshot" "1" "item_ammo_357_large" "1" "suit" "150" "health" "150" "model" "models/combine_super_soldier.mdl" } "SWAT Leader" { "weapon_357" "1" "weapon_smg1" "1" "weapon_slam" "1" "weapon_rpg" "1" "weapon_frag" "1" "weapon_crossbow" "1" "weapon_shotgun" "1" "item_ammo_smg1_large" "1" "item_ammo_smg1_grenade" "3" "item_ammo_crossbow" "1" "item_box_buckshot" "1" "item_ammo_357_large" "1" "suit" "150" "health" "175" "model" "models/combine_super_soldier.mdl" } Rebel xp(respect) Code: if(ExpRebel[Client] < 100) { CG_GiveGun(Client, "weapon_fists", true); GravityGun(Client); } if(ExpRebel[Client] > 100 && ExpRebel[Client] < 200) { CG_GiveGun(Client, "weapon_fists", true); GravityGun(Client); GivePlayerItem(Client, "weapon_crowbar"); } if(ExpRebel[Client] > 200 && ExpRebel[Client] < 300) { CG_GiveGun(Client, "weapon_fists", true); GravityGun(Client); GivePlayerItem(Client, "weapon_crowbar"); GivePlayerItem(Client, "weapon_pistol"); } if(ExpRebel[Client] > 300 && ExpRebel[Client] < 400) { CG_GiveGun(Client, "weapon_fists", true); GravityGun(Client); GivePlayerItem(Client, "weapon_crowbar"); GivePlayerItem(Client, "weapon_pistol"); GivePlayerItem(Client, "weapon_smg1"); } if(ExpRebel[Client] > 400 && ExpRebel[Client] < 600) { CG_GiveGun(Client, "weapon_fists", true); GravityGun(Client); GivePlayerItem(Client, "weapon_crowbar"); GivePlayerItem(Client, "weapon_pistol"); GivePlayerItem(Client, "weapon_smg1"); GivePlayerItem(Client, "weapon_shotgun"); CG_GiveGun(Client, "weapon_alyxgun", true); } if(ExpRebel[Client] > 600 && ExpRebel[Client] < 900) { CG_GiveGun(Client, "weapon_fists", true); GravityGun(Client); GivePlayerItem(Client, "weapon_crowbar"); GivePlayerItem(Client, "weapon_pistol"); GivePlayerItem(Client, "weapon_smg1"); GivePlayerItem(Client, "weapon_shotgun"); GivePlayerItem(Client, "weapon_crossbow"); CG_GiveGun(Client, "weapon_alyxgun", true); } if(ExpRebel[Client] > 900 && ExpRebel[Client] < 1200) { CG_GiveGun(Client, "weapon_fists", true); GravityGun(Client); GivePlayerItem(Client, "weapon_crowbar"); GivePlayerItem(Client, "weapon_pistol"); GivePlayerItem(Client, "weapon_smg1"); GivePlayerItem(Client, "weapon_shotgun"); GivePlayerItem(Client, "weapon_crossbow"); CG_GiveGun(Client, "weapon_mp5", true); GivePlayerItem(Client, "weapon_ar2"); CG_GiveGun(Client, "weapon_alyxgun", true); } if(ExpRebel[Client] > 1200 && ExpRebel[Client] < 1400) { CG_GiveGun(Client, "weapon_fists", true); GravityGun(Client); GivePlayerItem(Client, "weapon_crowbar"); GivePlayerItem(Client, "weapon_pistol"); GivePlayerItem(Client, "weapon_smg1"); GivePlayerItem(Client, "weapon_shotgun"); GivePlayerItem(Client, "weapon_crossbow"); GivePlayerItem(Client, "weapon_ar2"); CG_GiveGun(Client, "weapon_mp5", true); CG_GiveGun(Client, "weapon_alyxgun", true); CG_GiveGun(Client, "weapon_ak47", true); } if(ExpRebel[Client] > 1400) { CG_GiveGun(Client, "weapon_fists", true); GravityGun(Client); GivePlayerItem(Client, "weapon_crowbar"); GivePlayerItem(Client, "weapon_pistol"); GivePlayerItem(Client, "weapon_smg1"); GivePlayerItem(Client, "weapon_shotgun"); GivePlayerItem(Client, "weapon_crossbow"); GivePlayerItem(Client, "weapon_ar2"); CG_GiveGun(Client, "weapon_mp5", true); CG_GiveGun(Client, "weapon_alyxgun", true); CG_GiveGun(Client, "weapon_ak47", true); CG_GiveGun(Client, "weapon_sniper", true); } Download RP v4.20(Google Drive) Download RP Content Models/Materials/Sounds including .bz2 files for FastDL(Google Drive) MYsteam Nicks Mod v3.2.35 details My dev forum This Post On MY Dev Forum, just incase admins of this forum discontinue or try to keep this from you all </3 Install Guide Wyświetl pełny artykuł
  5. NyxToolsA collection of plugins to help make development easier and reduce repetitiveness. It's in early development so look forward to new features!InstallationGAME SPECIFIC PLUGINS REQUIRE LINUX - I DO NOT SUPPORT WINDOWS OR MAC - ACCEPTING CONTRIBUTORS Download the latest release here: https://github.com/JeremyDF93/nyxtools/releases Get the latest news here by watching: https://github.com/JeremyDF93/nyxtools Report issues here: https://github.com/JeremyDF93/nyxtools/issues If you want these plugins only for the commands: Place '*.smx' files into your 'plugins' directory Place '*.txt' files into your 'gamedata' directory If you're a developer: You should know what to do? Better documentation will be coming soon. Follow/Watch my Github for updates.NativesNyxTools - Cheats Code: void FakeClientCommandCheat(int client, const char[] fmt, any ...); bool HasCheatPermissions(int client);NyxTools - L4D2 (Linux Support Only) Code: void L4D2_RespawnPlayer(int client); void L4D2_TakeOverBot(int client, bool flag=true); void L4D2_TakeOverZombieBot(int bot, int client); void L4D2_ReplaceWithBot(int client, bool flag=true); void L4D2_SetHumanSpectator(int bot, int client); void L4D2_ChangeTeam(int client, int team); void L4D2_SetInfectedClass(int client, L4D2ClassType class);NyxTools - TF2 (Linux Support Only) Code: void TF2_RemoveAllObjects(int client, bool flag=true); int TF2_GetObjectCount(int client);CommandsNyxTools Code: [Name] [Type] [Help] nyx_connectmethod admin Usage: nyx_connectmethod nyx_fakecmd admin Usage: nyx_fakecmd <#userid|name> <cmd> nyx_querycvar admin Usage: nyx_querycvar <#userid|name> <convar> nyx_sendcvar admin Usage: nyx_sendcvar <#userid|name> <convar> <value> nyx_showurl admin Usage: nyx_showurl <#userid|name> <url> [show] nyx_tele admin Usage: nyx_tele <#userid|name> [stack]NyxTools - Cheats Code: [Name] [Type] [Help] nyx_fakecmdc admin Usage: nyx_fakecmdc <#userid|name> <cmd>NyxTools - Entities Code: [Name] [Type] [Help] nyx_entfire_aim admin Usage: nyx_entfire_aim <input> [value] nyx_entfire_class admin Usage: nyx_entfire_class <classname> <input> [value] nyx_entfire_player admin Usage: nyx_entprop_player <#userid|name> <input> [value] nyx_entprop_aim admin Usage: nyx_entprop_aim <prop> [value] nyx_entprop_class admin Usage: nyx_entprop_class <classname> <prop> [value] nyx_entprop_player admin Usage: nyx_entprop_player <#userid|name> <prop> [value] nyx_entprop_weapon admin Usage: nyx_entprop_weapon <#userid|name> <slot> <prop> [value]NyxTools - Events Code: [Name] [Type] [Help] nyx_hookevent admin Usage: nyx_hookevent <event> <key> [mode] nyx_unhookevent admin Usage: nyx_unhookevent <event> [mode]NyxTools - L4D2 (Linux Support Only) Code: [Name] [Type] [Help] nyx_changeclass admin Usage: nyx_changeclass <#userid|name> <class> nyx_changeteam admin Usage: nyx_changeteam <#userid|name> <team> nyx_respawn admin Usage: nyx_respawn <#userid|name> nyx_takeoverbot admin Usage: nyx_takeoverbot <#userid|name>NyxTools - TF2 (Linux Support Only) Code: [Name] [Type] [Help] nyx_addcond admin Usage: nyx_addcond <#userid|name> <cond> nyx_changeclass admin Usage: nyx_changeclass <#userid|name> <class> nyx_changeteam admin Usage: nyx_changeteam <#userid|name> <team> nyx_regen admin Usage: nyx_regen <#userid|name> nyx_removecond admin Usage: nyx_removecond <#userid|name> <cond> nyx_removeobjects admin Usage: nyx_removeobjects <#userid|name> nyx_respawn admin Usage: nyx_respawn <#userid|name>ConVarsNyxTools - Cheats Code: [Name] [Default] [Help] nyx_cheats_override n Override flag required to execute cheat commands nyx_cheats_notify 1 Notify admins when a cheat command is ran?I feel like it's 2006 all over again posting on these forums with bbcode! It hurts!! Wyświetl pełny artykuł
  6. Hi. I Need Own3r Menu Plugin Details: Title: [EG] Owner Menu 1.Give VIP 2.Give ADMIN 3.Give Money 4.Remove VIP 5.Remove Admin Name Of Plugin : EG_OwnerMenu.amxx I Can't Compile So Please Can GIve Me Plugin WIth Sma? Przeczytaj cały wpis
  7. hello:can someone make this plugin for me when u say /rules in the server u will got this msg [name of server] Don't go 2v1, don't block, don't turn ur back or kill from behind, don't swear and bother! KICK/BAN this rules works only in bridge and thanx <3 Przeczytaj cały wpis
  8. Hi! Can anyone add to my bonus egg screen fade when I touch it? Code: /* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <fakemeta> #include <fun> #include <zombieplague> #define PLUGIN "[ZP] Drop itens" #define VERSION "1.0" #define AUTHOR "Biel-oGrande" #define NUM_SPRITES 4 //new g_model_supplybox[] = "models/zombie_plague/w_supplybox.mdl" new g_model_egg[] = "models/zombie_plague/w_egg.mdl" //new g_model_chicken[] = "models/zombie_plague/w_chicken.mdl" //new g_sound_supplybox[] = "zombie_plague/supplybox_pickup.wav" new g_sound_egg[] = "zombie_plague/egg_pickup.wav" //new g_sound_chicken[] = "zombie_plague/chicken_pickup.wav" new cvar_min_ap, cvar_max_ap public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) cvar_min_ap = register_cvar("zp_min_ap","1") cvar_max_ap = register_cvar("zp_max_ap","5") register_logevent("round_start", 2, "1=Round_Start") register_event("DeathMsg", "player_death", "a") register_forward(FM_Touch, "fwdTouch") } public plugin_precache() { //precache_model(g_model_supplybox) //precache_sound(g_sound_supplybox) precache_model(g_model_egg) precache_sound(g_sound_egg) //precache_model(g_model_chicken) //precache_sound(g_sound_chicken) } public round_start() { new ent = -1 /*while ((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "supplybox")) != 0) { engfunc(EngFunc_RemoveEntity, ent) }*/ while ((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "egg")) != 0) { engfunc(EngFunc_RemoveEntity, ent) } /*while ((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "chicken")) != 0) { engfunc(EngFunc_RemoveEntity, ent) }*/ } public player_death() { new victim = read_data(2) drop_egg(victim) /*switch(random_num(1,3)) { case 1: drop_supplybox(victim) case 2: drop_egg(victim) case 3: drop_chicken(victim) }*/ return PLUGIN_CONTINUE } /*public drop_supplybox(id) { new ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target")) new Float:origin[3] pev(id, pev_origin, origin) set_pev(ent, pev_origin, origin) set_pev(ent, pev_classname, "supplybox") engfunc(EngFunc_SetModel, ent, g_model_supplybox) set_pev(ent, pev_solid, SOLID_TRIGGER) set_pev(ent, pev_movetype, MOVETYPE_NOCLIP) engfunc(EngFunc_DropToFloor, ent) set_pev(ent, pev_renderfx, kRenderFxGlowShell) set_pev(ent, pev_rendercolor, Float:{0.0, 0.0, 150.0}) }*/ public drop_egg(id) { new ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target")) new Float:origin[3] pev(id, pev_origin, origin) set_pev(ent, pev_origin, origin) set_pev(ent, pev_classname, "egg") engfunc(EngFunc_SetModel, ent, g_model_egg) set_pev(ent, pev_solid, SOLID_TRIGGER) set_pev(ent, pev_movetype, MOVETYPE_BOUNCE) set_pev(ent, pev_effects, EF_LIGHT) engfunc(EngFunc_DropToFloor, ent) set_pev(ent, pev_rendercolor, Float:{0.0, 150.0, 000.0}) } /*public drop_chicken(id) { new ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target")) new Float:origin[3] pev(id, pev_origin, origin) set_pev(ent, pev_origin, origin) set_pev(ent, pev_classname, "chicken") engfunc(EngFunc_SetModel, ent, g_model_chicken) set_pev(ent, pev_solid, SOLID_TRIGGER) set_pev(ent, pev_movetype, MOVETYPE_NOCLIP) engfunc(EngFunc_DropToFloor, ent) set_pev(ent, pev_renderfx, kRenderFxGlowShell) set_pev(ent, pev_rendercolor, Float:{150.0, 150.0, 150.0}) }*/ public fwdTouch(ent, id) { if(!pev_valid(ent) || !is_user_alive(id)) return FMRES_IGNORED new classname[32] pev(ent, pev_classname, classname, charsmax(classname)) /*if(equali(classname, "supplybox")) { emit_sound(id, CHAN_AUTO, g_sound_supplybox, 1.0, ATTN_NORM, 0, PITCH_NORM) engfunc(EngFunc_RemoveEntity, ent) give(id) }*/ if(equali(classname, "egg")) { emit_sound(id, CHAN_AUTO, g_sound_egg, 1.0, ATTN_NORM, 0, PITCH_NORM) engfunc(EngFunc_RemoveEntity, ent) give(id) } /*if(equali(classname, "chicken")) { emit_sound(id, CHAN_AUTO, g_sound_chicken, 1.0, ATTN_NORM, 0, PITCH_NORM) engfunc(EngFunc_RemoveEntity, ent) give(id) }*/ return FMRES_IGNORED } public give(id) { new iRandom = random_num(get_pcvar_num(cvar_min_ap), get_pcvar_num(cvar_max_ap)) zp_set_user_ammo_packs(id, zp_get_user_ammo_packs(id) + iRandom) client_print(id, print_center, "[ %d ] Ammopacks", iRandom) } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ ansicpg1250\\ deff0\\ deflang1045{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par } */ Przeczytaj cały wpis
  9. Hello my friends, can someone help me make a roundstart plugin with mp3 format for ct? Like when a round starts you hear the music1 for like 6-10 seconds, when the other round starts you hear music2 and when the last round starts you hear music3, then it it plays over and over again from 1-3 (only for ct). Thanks :) Is there a scripter i could reward him with? Btw, it could be uploaded on forums, cause it is a good plugin. The sounds im using:Attachment 178988 Attached Files roundstart.zip (274.1 KB) Przeczytaj cały wpis
  10. i need to remove v.zoom.mdl from this plugin HTML Code: #include <amxmodx> #include <amxmisc> #include <engine> #include <fakemeta> #include <hamsandwich> #include <colorchat> #include <fun> #define ACCESS_FLAG ADMIN_LEVEL_H #define TASK_DELAY 0.5 #define TASK_MODEL 100 #define MODEL_PLAYER "pkvip" #define VIP_CHECK ADMIN_LEVEL_H #define ADMINACCESS ADMIN_LEVEL_H new const VERSION[] = "1.0" static const COLOR[] = "^x04" //green static const CONTACT[] = "" new pcvar_on new maxplayers new gmsgSayText new pcvar_obavestenje new jumpnum[33] = 0 new bool:dojump[33] = false new noz_igraca[33] = 0; new g_has_custom_model[33],g_player_model[33][32],Float:g_models_counter new const g_szUltra[ ] = "models/pkvip/v_ultra.mdl"; new const g_szSuper[ ] = "models/pkvip/v_super.mdl"; new const g_szZoom[ ] = "models/pkvip/v_zoom.mdl"; new const g_szNormal[ ] = "models/pkvip/v_normal.mdl"; new bool:ima_noz1[33] new bool:ima_noz2[33] new bool:ima_noz3[33] new bool:ima_noz4[33] public plugin_init() { register_plugin("Ultimate Knife VIP", VERSION, "PrInCe & DecaK") pcvar_on = register_cvar("model_on","1") if(get_pcvar_num(pcvar_on)) { register_logevent("event_round_end", 2, "1=Round_End") register_event("CurWeapon", "event_CurWeapon", "be", "1=1") RegisterHam(Ham_Spawn,"player","func_spawn",1) RegisterHam(Ham_Spawn,"player","Spawn",2) register_clcmd("say", "sayee") register_clcmd("say", "handle_say") register_concmd("say /kmenu","proveri") register_concmd("say /knifemenu","proveri") register_concmd("say /vipinfo","vipinformacije") register_concmd("say /vipknife","proveri") register_cvar("amx_contactinfo", CONTACT, FCVAR_SERVER) gmsgSayText = get_user_msgid("SayText") register_cvar("amx_maxjumps","1") register_cvar("amx_mjadminonly","1") register_forward(FM_SetClientKeyValue, "fw_key_value") register_forward(FM_ClientUserInfoChanged, "fw_user_info_changed") maxplayers = get_maxplayers() pcvar_obavestenje = register_cvar("obavestenje", "60") set_task(get_pcvar_float(pcvar_obavestenje),"obavestenje" , _ , _ , _ , "b") } } public plugin_precache() { new path[100] formatex(path,sizeof path - 1,"models/pkvip/%s.mdl",MODEL_PLAYER) engfunc(EngFunc_PrecacheModel,path) precache_model( g_szUltra ); precache_model( g_szSuper ); precache_model( g_szZoom ); precache_model( g_szNormal ); } public func_spawn(id) { if(is_user_alive(id)) { if(get_user_flags(id) & ACCESS_FLAG) { copy(g_player_model[id], sizeof g_player_model[] - 1, MODEL_PLAYER) new currentmodel[32] fm_get_user_model(id, currentmodel, sizeof currentmodel - 1) if (!equal(currentmodel, g_player_model[id])) { set_task(1.0 + g_models_counter, "task_set_model", id+TASK_MODEL) g_models_counter += TASK_DELAY } }else if (g_has_custom_model[id]) { fm_reset_user_model(id) } } } public client_disconnect(id) { noz_igraca[id] = 0; ima_noz1[id] = false ima_noz2[id] = false ima_noz3[id] = false ima_noz4[id] = false jumpnum[id] = 0 dojump[id] = false } public client_putinserver(id) { jumpnum[id] = 0 dojump[id] = false } public event_round_end() { g_models_counter = 0.0 } public fw_key_value(id, const infobuffer[], const key[]) { if (g_has_custom_model[id] && equal(key, "model")) return FMRES_SUPERCEDE return FMRES_IGNORED } public fw_ClientUserInfoChanged(id) { if (!g_has_custom_model[id]) return FMRES_IGNORED static currentmodel[32] fm_get_user_model(id, currentmodel, sizeof currentmodel - 1) if (!equal(currentmodel, g_player_model[id])) fm_set_user_model(id, g_player_model[id]) return FMRES_IGNORED } public task_set_model(id) { id -= TASK_MODEL fm_set_user_model(id, g_player_model[id]) } stock fm_set_user_model(player, const modelname[]) { engfunc(EngFunc_SetClientKeyValue, player, engfunc(EngFunc_GetInfoKeyBuffer, player), "model", modelname) g_has_custom_model[player] = true } stock fm_get_user_model(player, model[], len) { engfunc(EngFunc_InfoKeyValue, engfunc(EngFunc_GetInfoKeyBuffer, player), "model", model, len) } stock fm_reset_user_model(player) { g_has_custom_model[player] = false dllfunc(DLLFunc_ClientUserInfoChanged, player, engfunc(EngFunc_GetInfoKeyBuffer, player)) } public sayee(id){ if(get_user_flags(id) & ADMIN_LEVEL_H) { new said[192], name[30] get_user_name(id,name,29) read_args(said,191) remove_quotes(said) ColorChat(0, GREEN,"[V.I.P] ^3%s ^1: %s",name,said) } } public handle_say(id) { new said[192] read_args(said,192) if( ( containi(said, "who") != -1 && containi(said, "vip") != -1 ) || contain(said, "/vips") != -1 ) set_task(0.1,"print_adminlist",id) return PLUGIN_CONTINUE } public print_adminlist(user) { new adminnames[33][32] new message[256] new contactinfo[256], contact[112] new id, count, x, len for(id = 1 ; id <= maxplayers ; id++) if(is_user_connected(id)) if(get_user_flags(id) & VIP_CHECK) get_user_name(id, adminnames[count++], 31) len = format(message, 255, "%s ONLINE VIP-ovi su: ",COLOR) if(count > 0) { for(x = 0 ; x < count ; x++) { len += format(message[len], 255-len, "%s%s ", adminnames[x], x < (count-1) ? ", ":"") if(len > 96 ) { print_message(user, message) len = format(message, 255, "%s ",COLOR) } } print_message(user, message) } else { len += format(message[len], 255-len, "Nema online VIP-ova") print_message(user, message) } get_cvar_string("amx_contactinfo", contact, 63) if(contact[0]) { format(contactinfo, 111, "%s Contact Server Vip -- %s", COLOR, contact) print_message(user, contactinfo) } } print_message(id, msg[]) { message_begin(MSG_ONE, gmsgSayText, {0,0,0}, id) write_byte(id) write_string(msg) message_end() } public proveri(id) { if(get_user_flags(id) & ADMIN_LEVEL_H) { meni(id); } else { ColorChat(id, TEAM_COLOR, "^4[VIP]^3 Nemas dozvolu da koristis vipa! Vip se mora kupiti!") } } public meni(id) { new menu= menu_create("\yVIP Knife Menu \r- \yIzaberi","menu_handler") menu_additem(menu,"\wUltra Knife \r[\yGravitacija\r]") menu_additem(menu,"\wSuper Knife \r[\yBrzina\r]") menu_additem(menu,"\wHealth Knife \r[\yVise Helta]") menu_additem(menu,"\wNormal Knife \r[\yLep Skin\r]") menu_display(id,menu); } public menu_handler(id,menu,item) { if(item==MENU_EXIT) { menu_destroy(menu); ColorChat(id, TEAM_COLOR, "^4[VIP]^3 Zatvaram Knife Meni.^1") return PLUGIN_CONTINUE; } switch(item) { case 0: { noz_igraca[id] = 1; ColorChat(id, TEAM_COLOR, "^4[VIP]^3 Izabrao si Ultra Knife, noz ce biti aktiviran na sledecem respawnu.^1") } case 1: { noz_igraca[id] = 2; ColorChat(id, TEAM_COLOR, "^4[VIP]^3 Izabrao si Super Knife, noz ce biti aktiviran na sledecem respawnu.^1") } case 2: { noz_igraca[id] = 3; ColorChat(id, TEAM_COLOR, "^4[VIP]^3 Izabrao si Zoom Knife, noz ce biti aktiviran na sledecem respawnu.^1") } case 3: { noz_igraca[id] = 4; ColorChat(id, TEAM_COLOR, "^4[VIP]^3 Izabrao si Normal Knife, noz ce biti aktiviran na sledecem respawnu.^1") } } return PLUGIN_CONTINUE } public Spawn(id) { if(!is_user_connected(id) || !is_user_alive(id) || get_user_flags(id) & ADMIN_LEVEL_H) switch(noz_igraca[id]) { case 1: { set_task(1.0, "stavigravity", id); ima_noz1[id] = true ima_noz2[id] = false ima_noz3[id] = false ima_noz4[id] = false set_pev(id, pev_viewmodel2, g_szUltra ); } case 2: { set_task(1.0, "stavispeed", id); ima_noz2[id] = true ima_noz1[id] = false ima_noz3[id] = false ima_noz4[id] = false set_pev(id, pev_viewmodel2, g_szSuper ); } case 3: { set_task(2.0, "stavihelte", id); ima_noz3[id] = true ima_noz1[id] = false ima_noz2[id] = false ima_noz4[id] = false set_pev(id, pev_viewmodel2, g_szZoom ); } case 4: { ima_noz4[id] = true ima_noz1[id] = false ima_noz2[id] = false ima_noz3[id] = false set_pev(id, pev_viewmodel2, g_szNormal); } } } public stavigravity(id) { set_user_gravity(id, 0.4) } public stavispeed(id) { set_user_maxspeed(id , get_user_maxspeed(id) + 300.0) } public stavihelte(id) { set_user_health(id, 80) } public event_CurWeapon(id) { static weapon weapon = read_data(2) switch(weapon) { case CSW_KNIFE: { if(ima_noz1[id] == true) { { set_pev(id, pev_viewmodel2, g_szUltra ); } } else if(ima_noz2[id] == true) { { set_pev(id, pev_viewmodel2, g_szSuper ); set_user_maxspeed(id , get_user_maxspeed(id) + 300.0) } } else if(ima_noz3[id] == true) { { set_pev(id, pev_viewmodel2, g_szZoom ); } } else if(ima_noz4[id] == true) { { set_pev(id, pev_viewmodel2, g_szNormal ); } } } } } public vipinformacije(id) { static motd[1501], len len = format(motd, 1500,"<body bgcolor=#000000><font color=#87cefa><pre>") len += format(motd[len], 1500-len,"<center><h4><font color=^"red^"><B>Ultimate Knife VIP sadrzi sledece:</B> </font></h4></center>") len += format(motd[len], 1500-len,"<center><h4><font color=^"blue^"><B>-----------------------</B> </font></h4></center>") len += format(motd[len], 1500-len,"<center><h4><font color=^"white^"><B>-Knife Menu</B> </font></h4></center>") len += format(motd[len], 1500-len,"<center><h4><font color=^"white^"><B>-VIP Shop</B> </font></h4></center>") len += format(motd[len], 1500-len,"<center><h4><font color=^"white^"><B>-MultiJump</B> </font></h4></center>") len += format(motd[len], 1500-len,"<center><h4><font color=^"green^"><B>-Prefix [VIP]</B> </font></h4></center>") len += format(motd[len], 1500-len,"<center><h4><font color=^"blue^"><B>-----------------------</B> </font></h4></center>") len += format(motd[len], 1500-len,"<center><h4><font color=^"red^"><B>Za kupovinu se javite vlasniku.</B> </font></h4></center>") len += format(motd[len], 1500-len,"<center><h4><font color=^"blue^"><B>-----------------------</B> </font></h4></center>") show_motd(id, motd, "PKV by: PrInCe & DecaK") return 0 } public client_PreThink(id) { if(!is_user_alive(id)) return PLUGIN_CONTINUE if(get_cvar_num("amx_mjadminonly") && (!access(id,ADMINACCESS))) return PLUGIN_CONTINUE new nbut = get_user_button(id) new obut = get_user_oldbutton(id) if((nbut & IN_JUMP) && !(get_entity_flags(id) & FL_ONGROUND) && !(obut & IN_JUMP)) { if(jumpnum[id] < get_cvar_num("amx_maxjumps")) { dojump[id] = true jumpnum[id]++ return PLUGIN_CONTINUE } } if((nbut & IN_JUMP) && (get_entity_flags(id) & FL_ONGROUND)) { jumpnum[id] = 0 return PLUGIN_CONTINUE } return PLUGIN_CONTINUE } public client_PostThink(id) { if(!is_user_alive(id)) return PLUGIN_CONTINUE if(get_cvar_num("amx_mjadminonly") && (!access(id,ADMINACCESS))) return PLUGIN_CONTINUE if(dojump[id] == true) { new Float:velocity[3] entity_get_vector(id,EV_VEC_velocity,velocity ) velocity[2] = random_float(265.0,285.0) entity_set_vector(id,EV_VEC_velocity,velocity ) dojump[id] = false return PLUGIN_CONTINUE } return PLUGIN_CONTINUE } public obavestenje() { ColorChat(0, TEAM_COLOR, "^4[VIP]^3 Ovaj server koristi Ultimate Knife VIP by: ^4PrInCe & DecaK^1") ColorChat(0, TEAM_COLOR, "^4[VIP]^3 Da pogledas informacije o vip-u, say: /vipinfo.^1") ColorChat(0, TEAM_COLOR, "^4[VIP]^3 Da otvoris knife menu, say: /kmenu ili /knifemenu.^1") } Przeczytaj cały wpis
  11. This plugin adds localization support to native objective messages. It differs from existing solutions in that it overrides the native objective dialog, rather than displaying additional screen messages. Each objective has a unique identifier with the format "<map name> <objective name>". To translate an objective message into different languages, simply add its identifier to the translation file, like so: PHP Code: "Phrases" { "nmo_cabin objStart" { "fr" "Sors du grenier" "de" "Finde einen Weg, um aus dem Dachboden auszubrechen!" "nl" "Ontsnap van de zolder" // You can also override the default English message "en" "Hello world" } } You can get a list of all objective names for a map using the `dump_objectives` console command and looking at the second argument: Code: ] sv_cheats 1; dump_objectives 24: objStart - Break out of the attic. 21: ObjA - Find keys to unlock door. 25: ObjC - Family is the answer, find the secret book. 23: ObjB - Break planks to proceed. 26: ObjD - Release stair gate. 33: ObjI - Find the car battery, power up the generator and call for help! 30: ObjE - Blast through cabin wall. Admins can also use the helper command sm_oid to fetch the translation phrase for the current objective. Code: Admin: /oid The current objective is nmo_cabin objStart in the translation file.CVars: sm_translate_objectives (1/0) (Default: 1)Toggle the translation of objective messages. GitHub repo: https://github.com/dysphie/nmrih-mul...ual-objectives Attached Files multilingual-objectives.zip (8.8 KB) Wyświetl pełny artykuł
  12. Hello, I Need Distance Sound When Player Shooting Weapon, like at csgo when someone shoots In Distance Like In That Video https://youtu.be/cIWCdlvGUAo?t=273 4:31 Przeczytaj cały wpis
  13. Hi! Can someone delete supplybox and chicken for this script. I want only egg as bonus box. Code: /* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <fakemeta> #include <fun> #include <zombieplague> #define PLUGIN "[ZP] Drop itens" #define VERSION "1.0" #define AUTHOR "Biel-oGrande" new g_model_supplybox[] = "models/zombie_plague/w_supplybox.mdl" new g_model_egg[] = "models/zombie_plague/w_egg.mdl" new g_model_chicken[] = "models/zombie_plague/w_chicken.mdl" new g_sound_supplybox[] = "zombie_plague/supplybox_pickup.wav" new g_sound_egg[] = "zombie_plague/egg_pickup.wav" new g_sound_chicken[] = "zombie_plague/chicken_pickup.wav" new cvar_min_ap, cvar_max_ap public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) cvar_min_ap = register_cvar("zp_min_ap","1") cvar_max_ap = register_cvar("zp_max_ap","5") register_logevent("round_start", 2, "1=Round_Start") register_event("DeathMsg", "player_death", "a") register_forward(FM_Touch, "fwdTouch") } public plugin_precache() { precache_model(g_model_supplybox) precache_sound(g_sound_supplybox) precache_model(g_model_egg) precache_sound(g_sound_egg) precache_model(g_model_chicken) precache_sound(g_sound_chicken) } public round_start() { new ent = -1 while ((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "supplybox")) != 0) { engfunc(EngFunc_RemoveEntity, ent) } while ((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "egg")) != 0) { engfunc(EngFunc_RemoveEntity, ent) } while ((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "chicken")) != 0) { engfunc(EngFunc_RemoveEntity, ent) } } public player_death() { new victim = read_data(2) switch(random_num(1,3)) { case 1: drop_supplybox(victim) case 2: drop_egg(victim) case 3: drop_chicken(victim) } return PLUGIN_CONTINUE } public drop_supplybox(id) { new ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target")) new Float:origin[3] pev(id, pev_origin, origin) set_pev(ent, pev_origin, origin) set_pev(ent, pev_classname, "supplybox") engfunc(EngFunc_SetModel, ent, g_model_supplybox) set_pev(ent, pev_solid, SOLID_TRIGGER) set_pev(ent, pev_movetype, MOVETYPE_NOCLIP) engfunc(EngFunc_DropToFloor, ent) set_pev(ent, pev_renderfx, kRenderFxGlowShell) set_pev(ent, pev_rendercolor, Float:{0.0, 0.0, 150.0}) } public drop_egg(id) { new ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target")) new Float:origin[3] pev(id, pev_origin, origin) set_pev(ent, pev_origin, origin) set_pev(ent, pev_classname, "egg") engfunc(EngFunc_SetModel, ent, g_model_egg) set_pev(ent, pev_solid, SOLID_TRIGGER) set_pev(ent, pev_movetype, MOVETYPE_BOUNCE) engfunc(EngFunc_DropToFloor, ent) set_pev(ent, pev_renderfx, kRenderFxGlowShell) set_pev(ent, pev_rendercolor, Float:{0.0, 150.0, 000.0}) } public drop_chicken(id) { new ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target")) new Float:origin[3] pev(id, pev_origin, origin) set_pev(ent, pev_origin, origin) set_pev(ent, pev_classname, "chicken") engfunc(EngFunc_SetModel, ent, g_model_chicken) set_pev(ent, pev_solid, SOLID_TRIGGER) set_pev(ent, pev_movetype, MOVETYPE_NOCLIP) engfunc(EngFunc_DropToFloor, ent) set_pev(ent, pev_renderfx, kRenderFxGlowShell) set_pev(ent, pev_rendercolor, Float:{150.0, 150.0, 150.0}) } public fwdTouch(ent, id) { if(!pev_valid(ent) || !is_user_alive(id)) return FMRES_IGNORED new classname[32] pev(ent, pev_classname, classname, charsmax(classname)) if(equali(classname, "supplybox")) { emit_sound(id, CHAN_AUTO, g_sound_supplybox, 1.0, ATTN_NORM, 0, PITCH_NORM) engfunc(EngFunc_RemoveEntity, ent) give(id) } if(equali(classname, "egg")) { emit_sound(id, CHAN_AUTO, g_sound_egg, 1.0, ATTN_NORM, 0, PITCH_NORM) engfunc(EngFunc_RemoveEntity, ent) give(id) } if(equali(classname, "chicken")) { emit_sound(id, CHAN_AUTO, g_sound_chicken, 1.0, ATTN_NORM, 0, PITCH_NORM) engfunc(EngFunc_RemoveEntity, ent) give(id) } return FMRES_IGNORED } public give(id) { new iRandom = random_num(get_pcvar_num(cvar_min_ap), get_pcvar_num(cvar_max_ap)) zp_set_user_ammo_packs(id, zp_get_user_ammo_packs(id) + iRandom) client_print(id, print_center, "[ %d ] Ammopacks", iRandom) } Przeczytaj cały wpis
  14. Player info is registering MYSQL to update, but does not update. Can you help me? (ip, name, authid, hp, alive or dead Code: new Handle:Query = SQL_PrepareQuery(SqlConnection, "INSERT INTO `playerlogger` (`ip`, `name`, `authid`, `hp`, `df_canli`) VALUES ('%s','%s','%s','%i','%i') ON DUPLICATE KEY UPDATE `ip`=VALUES(`ip`), `name`=VALUES(`name`), `authid`=VALUES(`authid`), `hp`=VALUES(`hp`), `df_canli`=VALUES(`df_canli`);", szIP, szName, szAuthid, iL_HP, df_canli); Attached Files Get Plugin or Get Source (playerInfoSaveDB.sma - 2.1 KB) Przeczytaj cały wpis
  15. Hello everybody, could somebody help me with a voice plugin, like when an admin type /voice chose who want to could talk from terrorists ( prisoniers ) on jailbreak, please? :) And need to really could talk because i have many times when i want to make roleplay with my players and i couldn't because they can't talk because they don't have all admins/vips Please, i'll wait an answer.! Przeczytaj cały wpis
  16. Just another redie plugin, it has some features to prevent interactions with living players or abusing like buttons and doors. Commands!redie - To spawn as ghost (configurable with or without required flag) !reback - Exit the redie/ghost mode ToDo Currently nothing, open an issue if you've a idea Known issues Nothing yet, open an issue if you found something Links SourceCode Download InstallationUpload "redie.smx" into your plugins folder (addons/sourcemod/plugins) Upload "redie.phrases.txt" into your translation folder (addons/sourcemod/translations) Wyświetl pełny artykuł
  17. Allows developers to mess around with TF2's Mannpower powerups. :crab: Spoiler PHP Code: enum eRuneTypes { Rune_Invalid = -1, Rune_Strength, Rune_Haste, Rune_Regen, Rune_Resist, Rune_Vampire, Rune_Reflect, Rune_Precision, Rune_Agility, Rune_Plague, Rune_King, Rune_Knockout, Rune_Supernova, Rune_LENGTH } #define RuneTypes eRuneTypes /** * Create a rune * * @param pos Location of rune (z axis goes up +48 hu on spawn) * @param type RuneTypes type of rune to spawn. * @param teammaybe Team number of rune, -2 for no team. * @param thrown 'Throws' the rune, similar to dropping it as a player * @param thrownz 'Throws' the rune vertically * @param angle Angle of rune if 'thrown' is true * * @return Created powerup entity **/ native int TF2_CreateRune(float pos[3], RuneTypes type, int teammaybe = -2, bool thrown = false, bool thrownz = false, float angle[3] = {0.0, 0.0, 0.0}); /** * Force a client to drop a rune that they are carrying * * @param client Client to force to drop their rune * @param idk Same as 'idk2' in TF2_CreateRune * @param teammaybe Same as 'teammaybe' in TF2_CreateRune * * @return Rune that was dropped, -1 if there wasn't one **/ native int TF2_DropRune(int client, bool idk, int teammaybe); /** * When a rune is created * * @param pos Location of rune (z axis goes up +48 hu after this is called) * @param type RuneTypes type of rune to spawn. * @param teammaybe Team number of rune, -2 for no team. * @param thrown 'Throws' the rune, similar to dropping it as a player Only appears to work when actually thrown by a player * @param thrownz 'Throws' the rune vertically * @param angle Angle of rune if 'thrown' is true * Doesn't seem to work when being set **/ forward Action TF2_OnRuneSpawn(float pos[3], RuneTypes &type, int &teammaybe, bool &thrown, bool &thrownz, float angle[3]); /** * When a rune is created * * @param pos Location of rune * @param type RuneTypes type of rune to spawn. * @param teammaybe Team number of rune, -2 for no team. * @param thrown 'Throws' the rune, similar to dropping it as a player * @param thrownz 'Throws' the rune vertically * @param angle Angle of rune if 'thrown' is true **/ forward void TF2_OnRuneSpawnPost(int rune, float pos[3], RuneTypes type, int teammaybe, bool thrown, bool thrownz, float ang[3]); /** * If a player can pick up this rune * * @param rune Rune to be touched * @param client Client touching this rune * @param status True if client can touch, false otherwise **/ forward Action TF2_CanRuneBeTouched(int rune, int client, bool &status); /** * When a player picks up a rune * * @param client Client picking up the rune * @param rune Rune ent idx * @param type RuneTypes type of the rune **/ forward void TF2_OnRunePickup(int client, int rune, RuneTypes type); /** * Get the type of a rune * * @param rune Rune entity * * @return RuneTypes type of this rune * @error Invalid rune entity passed, entity passed was not a rune **/ // 1288 linux // 1268 windows stock RuneTypes TF2_GetRuneType(int rune) { if (!IsValidEntity(rune)) { ThrowError("Entity %d is invalid!", rune); return Rune_Invalid; } char cls[32]; GetEntityClassname(rune, cls, sizeof(cls)); if (strncmp(cls, "item_power", 10, false)) { ThrowError("Entity %d (%s) is not a powerup rune!", rune, cls); return Rune_Invalid; } return view_as< RuneTypes >(GetEntData(rune, FindDataMapInfo(rune, "m_iszModel") + 24)); } /** * Get the carried rune type of a player * * @param client Client index * * @return RuneTypes type of carried rune, Rune_Invalid on failure * @error Invalid client or client not in-game **/ // This is literally CTFPlayerShared::GetCarryingRuneType stock RuneTypes TF2_GetCarryingRuneType(int client) { if (!(0 < client <= MaxClients)) { ThrowError("Client %d is not valid!", client); return Rune_Invalid; } if (!IsClientInGame(client)) { ThrowError("Client %d is not in-game!", client); return Rune_Invalid; } if (!TF2_IsPlayerInCondition(client, TFCond_HasRune)) return Rune_Invalid; int count; for (;;) { if (TF2_IsPlayerInCondition(client, g_RuneConds[count])) return view_as< RuneTypes >(count); if (++count == Rune_LENGTH) return Rune_Invalid; } return count; } I highly doubt these will change but latest gamedata is here. DOWNLOAD Special thanks to Deathreus for being my sensei for a hot minute. Wyświetl pełny artykuł
  18. Dont think this currently exists So its for a bhop server and it works like 1v1 race first to finish wins. i have credits on my server so for example you can race for X amount of credits and was hoping to have a leaderboard of wins to losses like a KD Ratio. !race select player then amount of credits. you lose and lose credits pretty self explanatory. not sure if this is hard to make idk. Well i just realised this is in wrong section can anyone point me or move me where need be? Wyświetl pełny artykuł
  19. Well hello there, i have a problem, how can i make supplyboxes to drop xp? I have this plugin Attachment 178946 but it doesn't work in this file: https://prnt.sc/qffgbo In games it just says: You have gotten unlock_supply-xp Please help :cry: Attached Files Get Plugin or Get Source (unlock_supply-xp.sma - 434 Bytes) Przeczytaj cały wpis
  20. Hi! I would like to find/get a plugin that can spawn christmas light entities to different places at different maps, for counter-strike 1.6. Thanks for your help in advance Przeczytaj cały wpis
  21. MYGO.pl

    Kills race

    I found this plugin which is like a frag race to 50 kills. is it possible to start the race only after there are 5 players on the server? Thank you Code: #include <amxmodx> #include <amxmisc> #include <fun> #include <engine> #define PLUGIN "Frag Limit" #define VERSION "1.0" #define AUTHOR "Sh!nE*" #define MAX_PLAYERS 32 new bool:g_restart_attempt[MAX_PLAYERS + 1] new fraglimit_on, fraglimit new bool:winnerfound=false public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) fraglimit_on = register_cvar("fl_on","1") fraglimit = register_cvar("fl_fraglimit","50") register_event("DeathMsg","death_a","a") register_event("ResetHUD", "event_hud_reset", "be") register_clcmd("fullupdate", "clcmd_fullupdate") register_event("TextMsg", "event_restart_attempt", "a", "2=#Game_will_restart_in") } public clcmd_fullupdate() { return PLUGIN_HANDLED_MAIN } public event_restart_attempt() { new players[32], num get_players(players, num, "a") for (new i; i < num; ++i) g_restart_attempt[players] = true } public event_hud_reset(id) { if (g_restart_attempt[id]) { g_restart_attempt[id] = false return } event_player_spawn(id) } public event_player_spawn(id) { ShowFragsLeft(id) } public death_a() { if(!get_pcvar_num(fraglimit_on) || winnerfound) return PLUGIN_HANDLED new players[32], num get_players(players, num) new Frags new killer=read_data(1) new victim=read_data(2) for (new i=0; i<num; i++) { Frags = get_user_frags(players) if(Frags >= get_pcvar_num(fraglimit)) { set_hudmessage(0, 255, 255, -1.0, 0.0, 0, 1.0, 7.0, 0.1, 0.2) show_hudmessage(0, "%s Won the match!!!", killer) set_dhudmessage(0, 255, 255, -1.0, -1.0, 0, 2.0, 3.0, 0.8, 0.8) show_hudmessage(0, "And the last frag was %s", victim) winnerfound=true set_task(5.0,"set_timelimit") break } } return PLUGIN_CONTINUE } public set_timelimit() { new Float:time=halflife_time() + 60.0 ; set_cvar_num("mp_timelimit",floatround(time/60)) set_hudmessage(255, 0, 0, -1.0, 0.20, 0, 6.0, 5.0) show_hudmessage(0, "Map change after 1 minute") } public ShowFragsLeft(id) { new Frags = get_user_frags(id) new Frags_left = get_pcvar_num(fraglimit) - Frags set_dhudmessage(0, 255, 255, -1.0, -1.0, 0, 2.0, 3.0, 0.8, 0.8) show_hudmessage(id, "%d Frags Remaining", Frags_left) set_task(1.0,"ShowFragsLeft", id) } Przeczytaj cały wpis
  22. This plugin is a standalone polls plugin. Admins with the vote flag can create, extend and close polls with a pretty easy to use menu. It's also possible to give multiple votes on one poll. All data and results are saved in a mysql database. Active polls, options and votes are cached as enum struct in a arraylist to increase the performance without many mysql queries. Features I'll not add (except anyone do it) Change of title/optionsI want try to prevent that on the legal way, otherwise it would fake the results Renewal of expired pollsExpired or closed polls are done and shouldn't be reopened ToDo Currently nothing, open an issue if you've a idea Known issues Nothing yet, open an issue if you found something Links SourceCode Download Wyświetl pełny artykuł
  23. Description: Anti team flash for CS:GO. Flashes done by the enemy will be kept on team flash. Spectators will see exactly what the target sees. GitHub: https://github.com/Ilusion9/sm-csgo-no-team-flash Wyświetl pełny artykuł
  24. Hello guys i just need to remove the "zoom.mdl" knife model and recomplie this plugin im tired from searshing and edditing plzz if someone know how this is the sma note=i dont know if the sma right but try to do your best and thanx :bacon: this is the link from where i get this plugin = https://forum.kgb-hosting.com/showthread.php?t=91985 new TeamName[4][0] = { { 0, ... }, { 84, ... }, { 67, ... }, { 83, ... } }; new VERSION[4] = { 49, 46, 48, 0 }; new COLOR[2] = { 4, 0 }; new CONTACT[1]; new pcvar_on; new maxplayers; new gmsgSayText; new pcvar_obavestenje; new jumpnum[33]; new bool:dojump[33]; new noz_igraca[33]; new g_has_custom_model[33]; new g_player_model[33][32]; new Float:g_models_counter; new g_szUltra[25] = { 109, 111, 100, 101, 108, 115, 47, 112, 107, 118, 105, 112, 47, 118, 95, 117, 108, 116, 114, 97, 46, 109, 100, 108, 0 }; new g_szSuper[25] = { 109, 111, 100, 101, 108, 115, 47, 112, 107, 118, 105, 112, 47, 118, 95, 115, 117, 112, 101, 114, 46, 109, 100, 108, 0 }; new g_szZoom[24] = { 109, 111, 100, 101, 108, 115, 47, 112, 107, 118, 105, 112, 47, 118, 95, 122, 111, 111, 109, 46, 109, 100, 108, 0 }; new g_szNormal[26] = { 109, 111, 100, 101, 108, 115, 47, 112, 107, 118, 105, 112, 47, 118, 95, 110, 111, 114, 109, 97, 108, 46, 109, 100, 108, 0 }; new bool:ima_noz1[33]; new bool:ima_noz2[33]; new bool:ima_noz3[33]; new bool:ima_noz4[33]; is_user_admin(id) { new __flags = get_user_flags(id, "HamFilter"); new var1; return __flags > 0 && !__flags & 33554432; } access(id, level) { if (level == 16777216) { return is_user_admin(id); } if (level) { return level & get_user_flags(id, "HamFilter"); } return 1; } get_user_button(id) { return entity_get_int(id, 34); } get_user_oldbutton(id) { return entity_get_int(id, 1); } get_entity_flags(ent) { return entity_get_int(ent, 27); } public __fatal_ham_error(Ham:id, HamError:err, reason[]) { new func = get_func_id("HamFilter", -1); new bool:fail = 1; new var1; if (func != -1 && callfunc_begin_i(func, -1) == 1) { callfunc_push_int(id); callfunc_push_int(err); callfunc_push_str(reason, "HamFilter"); if (callfunc_end() == 1) { fail = false; } } if (fail) { set_fail_state(reason); } return 0; } ColorChat(id, Color:type, msg[]) { new message[256]; switch (type) { case 1: { message[0] = 1; } case 2: { message[0] = 4; } default: { message[0] = 3; } } vformat(message[1], "", msg, 4); message[192] = 0; new team; new ColorChange; new index; new MSG_Type; if (id) { MSG_Type = 1; index = id; } else { index = FindPlayer(); MSG_Type = 2; } team = get_user_team(index, {0}, "HamFilter"); ColorChange = ColorSelection(index, MSG_Type, type); ShowColorMessage(index, MSG_Type, message); if (ColorChange) { Team_Info(index, MSG_Type, TeamName[team]); } return 0; } ShowColorMessage(id, type, message[]) { static bool:saytext_used; static get_user_msgid_saytext; if (!saytext_used) { get_user_msgid_saytext = get_user_msgid("SayText"); saytext_used = true; } message_begin(type, get_user_msgid_saytext, 196, id); write_byte(id); write_string(message); message_end(); return 0; } Team_Info(id, type, team[]) { static bool:teaminfo_used; static get_user_msgid_teaminfo; if (!teaminfo_used) { get_user_msgid_teaminfo = get_user_msgid("TeamInfo"); teaminfo_used = true; } message_begin(type, get_user_msgid_teaminfo, 196, id); write_byte(id); write_string(team); message_end(); return 1; } ColorSelection(index, type, Color:Type) { switch (Type) { case 4: { new var1 = TeamName; return Team_Info(index, type, var1[0][var1]); } case 5: { return Team_Info(index, type, TeamName[1]); } case 6: { return Team_Info(index, type, TeamName[2]); } default: { return 0; } } } FindPlayer() { new i = -1; while (get_maxplayers() >= i) { i++; if (is_user_connected(i)) { return i; } } return -1; } public plugin_init() { register_plugin("Ultimate Knife VIP", VERSION, "PrInCe & DecaK"); pcvar_on = register_cvar("model_on", 6284, "HamFilter", "HamFilter"); if (get_pcvar_num(pcvar_on)) { register_logevent("event_round_end", 2, "1=Round_End"); register_event("CurWeapon", "event_CurWeapon", "be", "1=1"); RegisterHam("HamFilter", "player", "func_spawn", 1); RegisterHam("HamFilter", "player", "Spawn", 2); register_clcmd("say", "sayee", -1, 6700, -1); register_clcmd("say", "handle_say", -1, 6700, -1); register_concmd("say /kmenu", "proveri", -1, 6840, -1); register_concmd("say /knifemenu", "proveri", -1, 6840, -1); register_concmd("say /vipinfo", "vipinformacije", -1, 6840, -1); register_concmd("say /vipknife", "proveri", -1, 6840, -1); register_cvar("amx_contactinfo", CONTACT, 4, "HamFilter"); gmsgSayText = get_user_msgid("SayText"); register_cvar("amx_maxjumps", 7284, "HamFilter", "HamFilter"); register_cvar("amx_mjadminonly", 7356, "HamFilter", "HamFilter"); register_forward(87, "fw_key_value", "HamFilter"); register_forward(122, "fw_user_info_changed", "HamFilter"); maxplayers = get_maxplayers(); pcvar_obavestenje = register_cvar("obavestenje", "60", "HamFilter", "HamFilter"); set_task(get_pcvar_float(pcvar_obavestenje), "obavestenje", "HamFilter", 7616, "HamFilter", 7608, "HamFilter"); } return 0; } public plugin_precache() { new path[100]; formatex(path, "", "models/pkvip/%s.mdl", "pkvip"); engfunc("HamFilter", path); precache_model(g_szUltra); precache_model(g_szSuper); precache_model(g_szZoom); precache_model(g_szNormal); return 0; } public func_spawn(id) { if (is_user_alive(id)) { if (get_user_flags(id, "HamFilter") & 524288) { copy(g_player_model[id], 31, "pkvip"); new currentmodel[32]; fm_get_user_model(id, currentmodel, 31); if (!equal(currentmodel, g_player_model[id], "HamFilter")) { set_task(floatadd(1065353216, g_models_counter), "task_set_model", id + 100, 7616, "HamFilter", 7808, "HamFilter"); g_models_counter = floatadd(1056964608, g_models_counter); } } if (g_has_custom_model[id]) { fm_reset_user_model(id); } } return 0; } public client_disconnect(id) { noz_igraca[id] = 0; ima_noz1[id] = 0; ima_noz2[id] = 0; ima_noz3[id] = 0; ima_noz4[id] = 0; jumpnum[id] = 0; dojump[id] = 0; return 0; } public client_putinserver(id) { jumpnum[id] = 0; dojump[id] = 0; return 0; } public event_round_end() { g_models_counter = 0.0; return 0; } public fw_key_value(id, infobuffer[], key[]) { new var1; if (g_has_custom_model[id] && equal(key, "model", "HamFilter")) { return 4; } return 1; } public fw_ClientUserInfoChanged(id) { if (!g_has_custom_model[id]) { return 1; } static currentmodel[32]; fm_get_user_model(id, currentmodel, 31); if (!equal(currentmodel, g_player_model[id], "HamFilter")) { fm_set_user_model(id, g_player_model[id]); } return 1; } public task_set_model(id) { fm_set_user_model(id, g_player_model[id]); return 0; } fm_set_user_model(player, modelname[]) { engfunc(75, player, engfunc(77, player), "model", modelname); g_has_custom_model[player] = 1; return 0; } fm_get_user_model(player, model[], len) { engfunc(73, engfunc(77, player), "model", model, len); return 0; } fm_reset_user_model(player) { g_has_custom_model[player] = 0; dllfunc(30, player, engfunc(77, player)); return 0; } public sayee(id) { if (get_user_flags(id, "HamFilter") & 524288) { new said[192]; new name[30]; get_user_name(id, name, 29); read_args(said, 191); remove_quotes(said); ColorChat(0, Color:2, "[V.I.P] \x03%s \x01: %s", name, said); } return 0; } public handle_say(id) { new said[192]; read_args(said, 192); new var1; if ((containi(said, "who") != -1 && containi(said, "vip") != -1) || contain(said, "/vips") == -1) { set_task(1036831949, "print_adminlist", id, 7616, "HamFilter", 7808, "HamFilter"); } return 0; } public print_adminlist(user) { new adminnames[33][32] = { { 37, 115, 32, 79, 78, 76, 73, 78, 69, 32, 86, 73, 80, 45, 111, 118, 105, 32, 115, 117, 58, 32, 0, 37, 115, 37, 115, 32, 0, 44, 32, 0 }, { 0, 37, 115, 32, 0, 78, 101, 109, 97, 32, 111, 110, 108, 105, 110, 101, 32, 86, 73, 80, 45, 111, 118, 97, 0, 97, 109, 120, 95, 99, 111, 110 }, { 116, 97, 99, 116, 105, 110, 102, 111, 0, 37, 115, 32, 67, 111, 110, 116, 97, 99, 116, 32, 83, 101, 114, 118, 101, 114, 32, 86, 105, 112, 32, 45 }, { 45, 32, 37, 115, 0, 0, 0, 0, 4, 91, 86, 73, 80, 93, 3, 32, 78, 101, 109, 97, 115, 32, 100, 111, 122, 118, 111, 108, 117, 32, 100, 97 }, { 32, 107, 111, 114, 105, 115, 116, 105, 115, 32, 118, 105, 112, 97, 33, 32, 86, 105, 112, 32, 115, 101, 32, 109, 111, 114, 97, 32, 107, 117, 112, 105 }, { 116, 105, 33, 0, 92, 121, 86, 73, 80, 32, 75, 110, 105, 102, 101, 32, 77, 101, 110, 117, 32, 92, 114, 45, 32, 92, 121, 73, 122, 97, 98, 101 }, { 114, 105, 0, 109, 101, 110, 117, 95, 104, 97, 110, 100, 108, 101, 114, 0, 92, 119, 85, 108, 116, 114, 97, 32, 75, 110, 105, 102, 101, 32, 92, 114 }, { 91, 92, 121, 71, 114, 97, 118, 105, 116, 97, 99, 105, 106, 97, 92, 114, 93, 0, 0, 92, 119, 83, 117, 112, 101, 114, 32, 75, 110, 105, 102, 101 }, { 32, 92, 114, 91, 92, 121, 66, 114, 122, 105, 110, 97, 92, 114, 93, 0, 92, 119, 72, 101, 97, 108, 116, 104, 32, 75, 110, 105, 102, 101, 32, 92 }, { 114, 91, 92, 121, 86, 105, 115, 101, 32, 72, 101, 108, 116, 97, 93, 0, 92, 119, 78, 111, 114, 109, 97, 108, 32, 75, 110, 105, 102, 101, 32, 92 }, { 114, 91, 92, 121, 76, 101, 112, 32, 83, 107, 105, 110, 92, 114, 93, 0, 4, 91, 86, 73, 80, 93, 3, 32, 90, 97, 116, 118, 97, 114, 97, 109 }, { 32, 75, 110, 105, 102, 101, 32, 77, 101, 110, 105, 46, 1, 0, 4, 91, 86, 73, 80, 93, 3, 32, 73, 122, 97, 98, 114, 97, 111, 32, 115, 105 }, { 32, 85, 108, 116, 114, 97, 32, 75, 110, 105, 102, 101, 44, 32, 110, 111, 122, 32, 99, 101, 32, 98, 105, 116, 105, 32, 97, 107, 116, 105, 118, 105 }, { 114, 97, 110, 32, 110, 97, 32, 115, 108, 101, 100, 101, 99, 101, 109, 32, 114, 101, 115, 112, 97, 119, 110, 117, 46, 1, 0, 4, 91, 86, 73, 80 }, { 93, 3, 32, 73, 122, 97, 98, 114, 97, 111, 32, 115, 105, 32, 83, 117, 112, 101, 114, 32, 75, 110, 105, 102, 101, 44, 32, 110, 111, 122, 32, 99 }, { 101, 32, 98, 105, 116, 105, 32, 97, 107, 116, 105, 118, 105, 114, 97, 110, 32, 110, 97, 32, 115, 108, 101, 100, 101, 99, 101, 109, 32, 114, 101, 115 }, { 112, 97, 119, 110, 117, 46, 1, 0, 4, 91, 86, 73, 80, 93, 3, 32, 73, 122, 97, 98, 114, 97, 111, 32, 115, 105, 32, 90, 111, 111, 109, 32 }, { 75, 110, 105, 102, 101, 44, 32, 110, 111, 122, 32, 99, 101, 32, 98, 105, 116, 105, 32, 97, 107, 116, 105, 118, 105, 114, 97, 110, 32, 110, 97, 32 }, { 115, 108, 101, 100, 101, 99, 101, 109, 32, 114, 101, 115, 112, 97, 119, 110, 117, 46, 1, 0, 4, 91, 86, 73, 80, 93, 3, 32, 73, 122, 97, 98 }, { 114, 97, 111, 32, 115, 105, 32, 78, 111, 114, 109, 97, 108, 32, 75, 110, 105, 102, 101, 44, 32, 110, 111, 122, 32, 99, 101, 32, 98, 105, 116, 105 }, { 32, 97, 107, 116, 105, 118, 105, 114, 97, 110, 32, 110, 97, 32, 115, 108, 101, 100, 101, 99, 101, 109, 32, 114, 101, 115, 112, 97, 119, 110, 117, 46 }, { 1, 0, 115, 116, 97, 118, 105, 103, 114, 97, 118, 105, 116, 121, 0, 115, 116, 97, 118, 105, 115, 112, 101, 101, 100, 0, 115, 116, 97, 118, 105, 104 }, { 101, 108, 116, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, ... }, { 0, ... }, { 0, ... }, { 0, ... }, { 0, ... }, { 0, ... }, { 0, ... }, { 0, ... }, { 0, ... }, { 0, ... } }; new message[256]; new contactinfo[256]; new contact[112]; new id; new count; new x; new len; id = 1; while (id <= maxplayers) { if (is_user_connected(id)) { if (get_user_flags(id, "HamFilter") & 524288) { count++; get_user_name(id, adminnames[count], 31); } } id++; } len = format(message, 255, 8336, COLOR); if (0 < count) { x = 0; while (x < count) { new var1; if (x < count + -1) { var1 = 8452; } else { var1 = 8464; } len = format(message[len], 255 - len, "%s%s ", adminnames[x], var1) + len; if (len > 96) { print_message(user, message); len = format(message, 255, "%s ", COLOR); } x++; } print_message(user, message); } else { len = format(message[len], 255 - len, "Nema online VIP-ova") + len; print_message(user, message); } get_cvar_string("amx_contactinfo", contact, 63); if (contact[0]) { format(contactinfo, "", "%s Contact Server Vip -- %s", COLOR, contact); print_message(user, contactinfo); } return 0; } print_message(id, msg[]) { message_begin(1, gmsgSayText, 8740, id); write_byte(id); write_string(msg); message_end(); return 0; } public proveri(id) { if (get_user_flags(id, "HamFilter") & 524288) { meni(id); } else { ColorChat(id, Color:3, "\x04[VIP]\x03 Nemas dozvolu da koristis vipa! Vip se mora kupiti!"); } return 0; } public meni(id) { new menu = menu_create("\yVIP Knife Menu \r- \yIzaberi", "menu_handler", "HamFilter"); menu_additem(menu, "\wUltra Knife \r[\yGravitacija\r]", 9304, "HamFilter", -1); menu_additem(menu, "\wSuper Knife \r[\yBrzina\r]", 9304, "HamFilter", -1); menu_additem(menu, "\wHealth Knife \r[\yVise Helta]", 9304, "HamFilter", -1); menu_additem(menu, "\wNormal Knife \r[\yLep Skin\r]", 9304, "HamFilter", -1); menu_display(id, menu, "HamFilter"); return 0; } public menu_handler(id, menu, item) { if (item == -3) { menu_destroy(menu); ColorChat(id, Color:3, "\x04[VIP]\x03 Zatvaram Knife Meni.\x01"); return 0; } switch (item) { case 0: { noz_igraca[id] = 1; ColorChat(id, Color:3, "\x04[VIP]\x03 Izabrao si Ultra Knife, noz ce biti aktiviran na sledecem respawnu.\x01"); } case 1: { noz_igraca[id] = 2; ColorChat(id, Color:3, "\x04[VIP]\x03 Izabrao si Super Knife, noz ce biti aktiviran na sledecem respawnu.\x01"); } case 2: { noz_igraca[id] = 3; ColorChat(id, Color:3, "\x04[VIP]\x03 Izabrao si Zoom Knife, noz ce biti aktiviran na sledecem respawnu.\x01"); } case 3: { noz_igraca[id] = 4; ColorChat(id, Color:3, "\x04[VIP]\x03 Izabrao si Normal Knife, noz ce biti aktiviran na sledecem respawnu.\x01"); } default: { } } return 0; } public Spawn(id) { new var1; if (!is_user_connected(id) || !is_user_alive(id) || get_user_flags(id, "HamFilter") & 524288) { switch (noz_igraca[id]) { case 1: { set_task(1065353216, "stavigravity", id, 7616, "HamFilter", 7808, "HamFilter"); ima_noz1[id] = 1; ima_noz2[id] = 0; ima_noz3[id] = 0; ima_noz4[id] = 0; set_pev(id, 144, g_szUltra); } case 2: { set_task(1065353216, "stavispeed", id, 7616, "HamFilter", 7808, "HamFilter"); ima_noz2[id] = 1; ima_noz1[id] = 0; ima_noz3[id] = 0; ima_noz4[id] = 0; set_pev(id, 144, g_szSuper); } case 3: { set_task(1073741824, "stavihelte", id, 7616, "HamFilter", 7808, "HamFilter"); ima_noz3[id] = 1; ima_noz1[id] = 0; ima_noz2[id] = 0; ima_noz4[id] = 0; set_pev(id, 144, g_szZoom); } case 4: { ima_noz4[id] = 1; ima_noz1[id] = 0; ima_noz2[id] = 0; ima_noz3[id] = 0; set_pev(id, 144, g_szNormal); } default: { } } } return 0; } public stavigravity(id) { set_user_gravity(id, 1053609165); return 0; } public stavispeed(id) { set_user_maxspeed(id, floatadd(1133903872, get_user_maxspeed(id))); return 0; } public stavihelte(id) { set_user_health(id, 80); return 0; } public event_CurWeapon(id) { static weapon; weapon = read_data(2); switch (weapon) { case 29: { if (ima_noz1[id] == true) { set_pev(id, 144, g_szUltra); } else { if (ima_noz2[id] == true) { set_pev(id, 144, g_szSuper); set_user_maxspeed(id, floatadd(1133903872, get_user_maxspeed(id))); } if (ima_noz3[id] == true) { set_pev(id, 144, g_szZoom); } if (ima_noz4[id] == true) { set_pev(id, 144, g_szNormal); } } } default: { } } return 0; } public vipinformacije(id) { static len; static motd[1501]; len = format(motd, 1500, "<body bgcolor=#000000><font color=#87cefa><pre>"); len = format(motd[len], 1500 - len, "<center><h4><font color=\"red\"><B>Ultimate Knife VIP sadrzi sledece:</B> </font></h4></center>") + len; len = format(motd[len], 1500 - len, "<center><h4><font color=\"blue\"><B>-----------------------</B> </font></h4></center>") + len; len = format(motd[len], 1500 - len, "<center><h4><font color=\"white\"><B>-Knife Menu</B> </font></h4></center>") + len; len = format(motd[len], 1500 - len, "<center><h4><font color=\"white\"><B>-VIP Shop</B> </font></h4></center>") + len; len = format(motd[len], 1500 - len, "<center><h4><font color=\"white\"><B>-MultiJump</B> </font></h4></center>") + len; len = format(motd[len], 1500 - len, "<center><h4><font color=\"green\"><B>-Prefix [VIP]</B> </font></h4></center>") + len; len = format(motd[len], 1500 - len, "<center><h4><font color=\"blue\"><B>-----------------------</B> </font></h4></center>") + len; len = format(motd[len], 1500 - len, "<center><h4><font color=\"red\"><B>Za kupovinu se javite vlasniku.</B> </font></h4></center>") + len; len = format(motd[len], 1500 - len, "<center><h4><font color=\"blue\"><B>-----------------------</B> </font></h4></center>") + len; show_motd(id, motd, "PKV by: PrInCe & DecaK"); return 0; } public client_PreThink(id) { if (!is_user_alive(id)) { return 0; } new var1; if (get_cvar_num("amx_mjadminonly") && !access(id, 524288)) { return 0; } new nbut = get_user_button(id); new obut = get_user_oldbutton(id); new var2; if (nbut & 2 && !get_entity_flags(id) & 512 && !obut & 2) { if (get_cvar_num("amx_maxjumps") > jumpnum[id]) { dojump[id] = 1; jumpnum[id]++; return 0; } } new var3; if (nbut & 2 && get_entity_flags(id) & 512) { jumpnum[id] = 0; return 0; } return 0; } public client_PostThink(id) { if (!is_user_alive(id)) { return 0; } new var1; if (get_cvar_num("amx_mjadminonly") && !access(id, 524288)) { return 0; } if (dojump[id] == true) { new Float:velocity[3] = 0.0; entity_get_vector(id, 2, velocity); velocity[2] = random_float(1132756992, 1133412352); entity_set_vector(id, 2, velocity); dojump[id] = 0; return 0; } return 0; } public obavestenje() { ColorChat(0, Color:3, "\x04[VIP]\x03 Ovaj server koristi Ultimate Knife VIP by: \x04PrInCe & DecaK\x01"); ColorChat(0, Color:3, "\x04[VIP]\x03 Da pogledas informacije o vip-u, say: /vipinfo.\x01"); ColorChat(0, Color:3, "\x04[VIP]\x03 Da otvoris knife menu, say: /kmenu ili /knifemenu.\x01"); return 0; } Przeczytaj cały wpis
  25. Have you ever noticed that sometimes Zoey, Louis and Francis does not play fall scream lines while falling off the ledge or also jump off from the high ground? It appears that it shows an error on the console "player/survivor/voice/(survivor/fall04.wav is missing". It also adds Ellis's extra fall scream line while falling. Ellis has 5 fall screams lines and the game only plays 4 lines. This plugin will fix their missing lines while it plays one of the fall scream lines. Cvar: It should save l4d2_fall_scream_fix.cfg in your \cfg\sourcemod\ folder. PHP Code: l4d2_ellis_extra_scream: 1 "Enables Ellis extra scream while falling" Installtion: 1. Download smx and place in the plugins folder. 2. Done. Attached Files l4d2_fall_scream_fix.smx (5.5 KB) Get Plugin or Get Source (l4d2_fall_scream_fix.sp - 3.6 KB) Wyświetl pełny artykuł
×
×
  • Dodaj nową pozycję...