new bool:is_warmup
new bool:granaty;
public plugin_init()
set_task(10.0, "startuj")
}
public startuj(){
granaty = true;
warmup = true;
set_task(0.1, "dawaj_granaty")
}
public dawaj_granaty(){
if((granaty) && (is_warmup))
{
new Players[32], playerCount;
get_players(Players, playerCount);
for (new i=0; i<playerCount; i++){
new id = Players[i];
give_item(id, "weapon_hegrenade")
//if(!(user_has_weapon(id, CSW_HEGRENADE)))
//{
//give_item(id, "weapon_hegrenade")
//}
set_task(1.0, "dawaj_granaty", id)
}
}
}
Użytkownik naven edytował ten post 27.02.2010 13:09


Dodatki SourceMod



Temat jest zamknięty









