MEDIC NPC (DOCTOR NPC)
3 Attachment(s)
Medic NPC by Mr. Smit Description: Medic NPC it's some man, at whoom you can recover! You can creat this NPC on your server, and it will be saved! When you come to medic, he will ask you "Do you want recover?" I got this idea today on my knife server: I have surf server. On this server I have NPC Man whoom give to other players surf boards. On my knife server my friend ask me : "It will be cool, if on your knife server some man can give you health!" I have remembered about two plugins CS Surf Boards and Call Medic and connected them! It is real cool! You can come to Medic and ask help! Commands: amx_createnpc - Type in console to create the Medic NPC. Cvars: medic_enabled <0/1> (Default: 1) <1> Enable this plugin <0> Disable this plugin medic_maxhp <1-X> (Default: 100) Maximum Health on your server. medic_health <1-X> (Default: 25) How many health you get if you ask help from medic? medic_costs <1-16000> (Default: 1500) How many costs medic help? medic_shout <0/1> (Default: 1) Shouts "medic" with sound? medic_message <0/1> (Default: 1) Write a message "[Medic] Somebody has asked me" to all players? medic_cooldown <1-X> (Default: 30) How long is the cooldowntime for ask Medic's help again? If you set medic_cooldown to 0, cooldowntime is disabled. REQUIRES: AMX Mod X version 1.8.1 or higher #include <amxmodx> #include <amxmisc> #include <fakemeta> How To Use:
It isn't my code of plugin. I was only connected two plugins CS Surf Boards by hlstriker and Call Medic by Grinf4ce! Translations: I created languages file ! English by Mr. Smit Russian by Mr. Smit (UTF-8 Without Bom) Please, If you can translate, post it here! Screenshot: medic-npc.jpg Current Version: 1.0 :) If you will find bug or my error please post about it here! :oops: If you will post this plugin to other forums and sites please write this page link to them.... :nono: Sorry for my bad English :wink: Languages: DE (German) by master4life Code:
[de] BG (Bulgarian) by papyrus_kn Code:
[bg] |
Re: MEDIC NPC (DOCTOR NPC)
Not a bad idea, but : Dont put a poll in ur plugin its annoying.
Add a cvar for the time that is needed to heal Add a cvar for the health of the medic so you can kill him I see you telling that they need to put a file in there config, you can create that urself in plugin_cfg() using if(!file_exists(yourfiledir)) then create it if it doesn't exists. |
Re: MEDIC NPC (DOCTOR NPC)
Quote:
In code Code:
// Set damage and hp Code:
// Set damage and hp So, I don't know pawn , only c# :) I can't write this code (add check for medic live or / not, give him normal health).... |
Re: MEDIC NPC (DOCTOR NPC)
Quote:
|
Re: MEDIC NPC (DOCTOR NPC)
Whenwe did this on jail server (more advanced, removed later), i knew someone will do it later. this happened xD
|
Re: MEDIC NPC (DOCTOR NPC)
Pawn scripting - it's difficult? So can I do which want grimvh2?
|
Re: MEDIC NPC (DOCTOR NPC)
If you are not able to support this plugin, you should not post it. You should start to read the rules, then learning the pawn.
|
Re: MEDIC NPC (DOCTOR NPC)
Emm, I'm only post it here. Some man how exolent, xpaw and other can complete this plugin.
|
Re: MEDIC NPC (DOCTOR NPC)
German Translate
Code:
[de] Code:
[en] Code:
[en] |
Re: MEDIC NPC (DOCTOR NPC)
It's good for RPG/Jail. Else then that, i don't like it very much.
NPCs belongs to HL :) |
All times are GMT -4. The time now is 22:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.