←  Szukam pluginu

AMXX.pl: Support AMX Mod X i SourceMod

»

CS:GO
Plugin na serwer DR

  • +
  • -
cocojambopl's Photo cocojambopl 01.06.2016

Witam. Już od kilku godzin bezskutecznie szukam pluginu który co runde będzie usuwał bronie graczom.

Jeżeli ktoś zna taki plugin to proszę o wypowiedzenie się w tym temacie.

Quote

  • +
  • -
j1gg's Photo j1gg 17.06.2016

W załączniku 

Attached Files

Quote

  • +
  • -
Linux''s Photo Linux' 18.06.2016

W załączniku 

Brak kodu zrodlowego.

 

Hokujesz player_spawn i wykonujesz kod na czyszczenie ekwipunku, np:

for(new slot = 0; slot < 4; slot ++)
{
	new weapon_index = -1;
	while((weapon_index = GetPlayerWeaponSlot(client, slot)) != -1)
	{
		if(IsValidEntity(weapon_index))
		{
			RemovePlayerItem(client, weapon_index);
			AcceptEntityInput(weapon_index, "kill");
		}
	}
}

(usunie wszystko, lacznie z nozem). Lub:

new slot = -1;
slot = GetPlayerWeaponSlot(client, CS_SLOT_PRIMARY);
if(slot != -1)
	RemovePlayerItem(client, slot);

slot = GetPlayerWeaponSlot(client, CS_SLOT_SECONDARY);
if(slot != -1)
	RemovePlayerItem(client, slot);

slot = GetPlayerWeaponSlot(client, CS_SLOT_GRENADE);
if(slot != -1)
	RemovePlayerItem(client, slot);

usunie wszystko poza nozem.

Quote

  • +
  • -
cocojambopl's Photo cocojambopl 18.06.2016

Dzięki za odpowiedź, ale już to zrobiłem sam xD. Zapomniałem napisać prośbę o zamknięcie tematu.

Quote