Shooting while on bike
#5

Have you see my code yet?
and dude, this part will always remove player weapon if he enters a vehicle, if you want player to be able to shot you MUST remove this or give it more checks
Quote:
Originally Posted by Frank901
Посмотреть сообщение
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
	if(IsPlayerInAnyVehicle(playerid))
	{
		SetPlayerArmedWeapon(playerid, 0);
	}
	return 1;
}
That's the code
Reply


Messages In This Thread
Shooting while on bike - by Frank901 - 20.08.2016, 17:21
Re: Shooting while on bike - by ThatFag - 20.08.2016, 17:25
Re: Shooting while on bike - by Shinja - 20.08.2016, 17:34
Re: Shooting while on bike - by Frank901 - 20.08.2016, 19:01
Re: Shooting while on bike - by Shinja - 20.08.2016, 19:05
Re: Shooting while on bike - by Konstantinos - 20.08.2016, 19:06
Re: Shooting while on bike - by Affan - 20.08.2016, 19:07
Re: Shooting while on bike - by Frank901 - 20.08.2016, 19:18

Forum Jump:


Users browsing this thread: 4 Guest(s)