seems like you have no idea about coding next time please post in suggestion request.
PHP Code:
#include <amxmodx>
#include <amxmodx>
#include <cstrike>
#include <engine>
#include <fun>
#include <hamsandwich>
public plugin_init() {
register_plugin("StarWars","1.0","Thew_ConFiger")
register_event("ResetHUD", "resetModel", "b")
register_logevent( "roundstart", 2, "1=Round_Start" );
}
public roundstart( )
{
new iPlayers[32], iPlayer[CsTeams], iNum
get_players(iPlayers, iNum, "ae", "CT")
if(iNum)
{
iPlayer[CS_TEAM_CT] = iPlayers[random(iNum)]
set_user_health(iPlayer[CS_TEAM_CT], get_user_health(iPlayer[CS_TEAM_CT]) + 150);
}
get_players(iPlayers, iNum, "ae", "TERRORIST")
if(iNum)
{
iPlayer[CS_TEAM_T] = iPlayers[random(iNum)]
set_user_health(iPlayer[CS_TEAM_T], get_user_health(iPlayer[CS_TEAM_T]) + 150);
}
}
__________________