[FilterScript] DDB System
#10

Quote:
Originally Posted by Flashhiee
Посмотреть сообщение
If someone will give a weapon to the driver it will be able again to make DB.
Logically, the driver can't do the DB while driving

Quote:
Originally Posted by Day_
Посмотреть сообщение
Bad Script...
I'm really want to get a lots of criticism

Quote:
Originally Posted by Pottus
Посмотреть сообщение
This is done incorrectly do it like this just always set their armed weapon to 0 if they try it may be a little less efficient but it eliminates any other overhead you might need to implement.

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if( (newkeys & KEY_FIRE) && (GetPlayerState(playerid) == PLAYER_STATE_DRIVER) )
		SetPlayerArmedWeapon(playerid,0);
}
I think, my script is already done correctly. but, I appreciated you!
Reply


Messages In This Thread
DDB System - by justice96 - 19.05.2015, 11:29
Re: DDB System - by X337 - 19.05.2015, 11:34
Re: DDB System - by Greaper - 19.05.2015, 11:51
Re: DDB System - by Deathlane - 19.05.2015, 12:09
Re: DDB System - by iWhite - 19.05.2015, 12:57
Re: DDB System - by X337 - 19.05.2015, 13:11
Re: DDB System - by justice96 - 19.05.2015, 13:38
Re: DDB System - by Alex Magaсa - 19.05.2015, 13:48
Re: DDB System - by Flashhiee - 19.05.2015, 14:08
Re: DDB System - by justice96 - 30.05.2015, 05:29

Forum Jump:


Users browsing this thread: 1 Guest(s)