Szukam pluginu że na start dostajemy 35hp...
Aro
05.02.2013
Gość_deLL_* 05.02.2013
#include <amxmodx>
#include <cstrike>
#include <fun>
#define PLUGIN "Strip weapon and give HP"
#define VERSION "1.0"
#define AUTHOR "deLL"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("func_round",2,"1=Round_Start")
}
public func_round()
{
new iPlayers[32], iNum, id
get_players(iPlayers, iNum)
for(new i=0; i<iNum; i++)
{
id = iPlayers[i]
if(cs_get_user_team(id) == CS_TEAM_T)
{
strip_user_weapons(id)
}
set_user_health(id, 35)
}
}
K1noS
05.02.2013
Dzięki. deLL dasz rade zrobić z tego 2 osobne pluginy albo czyli np plugin w ktorym tt nie ma noza
Gość_deLL_* 05.02.2013
Sprawdź załącznik. Cvary:
amx_shp_hp 1 // 0 - wylaczona opcja // 1 - wsztstkim ogranicza HP // 2 - tylko CT // 3 - tylko TT
amx_shp_strip 3 // 0 - wylaczona opcja // 1 - wsztstkim zabiera bronie // 2 - tylko CT // 3 - tylko TT