DmX
19.01.2014, 00:07
Данный callback вызывается, когда игрок стреляет.
Использвание:
#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: http://www.solidfiles.com/d/d6e6817524/
Для работы нужны инклуиды YSI
Автор: dexi
Использвание:
#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: http://www.solidfiles.com/d/d6e6817524/
Для работы нужны инклуиды YSI
Автор: dexi