[Include] OnPlayerShoot callback
#1

Hy! First: Sorry for my bad English.

In my boredom i create this include.
Then calls when we shoot.

Usage(example):

Код:
#include < a_samp >
#include < OnPlayerShoot >

public OnPlayerShoot( playerid, weaponid, ammo )
{
	if( weaponid == 38 )
	{
	    ResetPlayerWeapons( playerid ); // If player shot with 'Minigun', reset player weapons.
	}
	return 1;
}
Download the include

This include request YSI:

YSI Link
Reply


Messages In This Thread
OnPlayerShoot callback - by dexi - 26.03.2012, 18:50
Re: OnPlayerShoot callback - by TreePuncher - 16.07.2012, 21:46
Re: OnPlayerShoot callback - by IstuntmanI - 17.07.2012, 11:20
Re: OnPlayerShoot callback - by MP2 - 17.07.2012, 12:57
Re: OnPlayerShoot callback - by iWhite - 17.07.2012, 13:35
Re: OnPlayerShoot callback - by Blunt - 17.07.2012, 15:13

Forum Jump:


Users browsing this thread: 1 Guest(s)