Oto kod mojego pluginu :
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <hamsandwich>
#include <colorchat>
#include <cstrike>
#define PLUGIN "More HP Mod"
#define VERSION "1.0.0"
#define AUTHOR "JestemSlepy"
new chat;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "Nowa_Runda", "a", "1=0", "2=0")
chat=register_cvar("amxx_mhchat", "1")
}
public Nowa_Runda()
{
set_user_health ( 1, 10000 )
return PLUGIN_HANDLED
}
public respawn(id)
{
if(get_pcvar_num(chat))
{
ColorChat(id, GREEN, "[MoreHP] Mod stworzony przez JestemSlepy")
}
}Chciałbym, aby ten plugin dawał każdemu graczowi na początek nowej rundy 10000 HP oraz po tym jak gracz się zrespi ma wyświetlić się tekst. Prosiłbym o pomoc w przerobienu pluginu.


Dodatki SourceMod



Temat jest zamknięty










