←  Prośby o modyfikację

AMXX.pl: Support AMX Mod X i SourceMod

»

Zombie Plague 5.0
Modyfikacja pluginu ze pierwszy zombie ma...


Best Answer rzeznik9871 24.10.2016 22:10

#include <amxmodx>
#include <amxmisc>
#include <zombieplague> 
#include <fun> 

public plugin_init()
{
	register_plugin("Infection bomb for 1st Zombie", "1.0", "AfteR ;)")
}

public zp_user_infected_post(id)
{
	if(get_playersnum()<6 || random(4)!=0 || !zp_get_user_first_zombie(id))
		return;
		
	give_item(id, "weapon_hegrenade")
} 

nie kompilowalem nie mam zp na kompie ale powinno dzialac

Go to the full post

  • +
  • -
SecretARczi's Photo SecretARczi 15.10.2016

Witam chcialbym zeby mi ktos przerobil ten plugin na

link  https://amxx.pl/topi...rwszego-zombie/

tak zeby było x% szansy na to ze dostanie

oraz od x graczy na serwie

 
Quote

  • +
  • -
RomanHardcor's Photo RomanHardcor 15.10.2016

Proszę, dodałem domyślnie że potrzeba 6 graczy i szansa 1/5 ;P

Attached File  bombazp.sma   417bytes   74 downloads

Quote

  • +
  • -
SecretARczi's Photo SecretARczi 24.10.2016

Nie dziala i sadze ze jest to zle zrobione

Quote

  • +
  • -
Best Answer rzeznik9871's Photo rzeznik9871 24.10.2016

#include <amxmodx>
#include <amxmisc>
#include <zombieplague> 
#include <fun> 

public plugin_init()
{
	register_plugin("Infection bomb for 1st Zombie", "1.0", "AfteR ;)")
}

public zp_user_infected_post(id)
{
	if(get_playersnum()<6 || random(4)!=0 || !zp_get_user_first_zombie(id))
		return;
		
	give_item(id, "weapon_hegrenade")
} 

nie kompilowalem nie mam zp na kompie ale powinno dzialac

Quote