←  Problemy z pluginami

AMXX.pl: Support AMX Mod X i SourceMod

»

Problem z pluginem DeathRun Free. T nie mo...

  • +
  • -
The.Scott's Photo The.Scott 02.02.2015

Mam problem z pluginem DeathRun Free Round. Wszystko dziala bardzo dobrze, oprocz tego, ze Terrorist nie mogą podniesc broni podczas prostego round (bez /free prosty round, CT moze podniesc bron, a T nie..)
Plugin.sma:
http://wklej.org/id/1618039/

Quote

  • +
  • -
Rivit's Photo Rivit 09.02.2015

Zamień to:

public Bron(weapon,id){
	if(!is_user_alive(id)) return HAM_IGNORED
	if (get_user_team(id)==2&&!is_free)
		return HAM_IGNORED;
	return HAM_SUPERCEDE;
}

na to:

public Bron(weapon,id){
	if(!is_user_alive(id)) return HAM_IGNORED
	if (!is_free)
		return HAM_IGNORED;
	return HAM_SUPERCEDE;
}

Skompiluj, wgraj, zmień mapę ;)

Quote

  • +
  • -
The.Scott's Photo The.Scott 10.02.2015

Zamień to:

public Bron(weapon,id){
	if(!is_user_alive(id)) return HAM_IGNORED
	if (get_user_team(id)==2&&!is_free)
		return HAM_IGNORED;
	return HAM_SUPERCEDE;
}

na to:

public Bron(weapon,id){
	if(!is_user_alive(id)) return HAM_IGNORED
	if (!is_free)
		return HAM_IGNORED;
	return HAM_SUPERCEDE;
}

Skompiluj, wgraj, zmień mapę ;)

Dziala, wielkie dzięki :)

Quote