Prevent player from shooting
#2

use
PHP код:
GetPlayerAmmo(playerid); 
,get his ammo here
PHP код:
OnPlayerWeaponShot 
if the ammo is 1,return 0; so the bullet won`t cause dmg and reset his weapon by giving it back with 1 ammo.

thats the only method i know
Reply


Messages In This Thread
Prevent player from shooting - by Eibison - 09.02.2018, 15:44
Re: Prevent player from shooting - by PepsiCola23 - 09.02.2018, 16:24
Re: Prevent player from shooting - by Eibison - 09.02.2018, 16:33
Re: Prevent player from shooting - by wallen - 09.02.2018, 16:40
Re: Prevent player from shooting - by Mugala - 09.02.2018, 18:21
Re: Prevent player from shooting - by Eibison - 10.02.2018, 20:07
Re: Prevent player from shooting - by PepsiCola23 - 10.02.2018, 20:19
Re: Prevent player from shooting - by Mugala - 10.02.2018, 20:20
Re: Prevent player from shooting - by Astralis - 11.02.2018, 09:13
Re: Prevent player from shooting - by Eibison - 11.02.2018, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)