Anti-DB script help
#1

hi, i try do a anti-db (drive by) script but for some reason when i compile show me a erro =S here my script
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	new estado = GetPlayerState(playerid);
	if (IsPlayerInAnyVehicle(playerid) && estado == PLAYER_STATE_DRIVER)
	{
		if (newkeys == ((KEY_FIRE || KEY_ACTION) && (KEY_LOOK_RIGHT || KEY_LOOK_LEFT)))
		{
			new Float:x,Float:y, Float:z;
			GetPlayerPos(playerid,Float:x,Float:y, Float:z);
			SetPlayerPos(playerid,Float:x+10,Float:y+1, Float:z);
			SendClientMessage(playerid,0xcc3300ff,"DANGER: Remove From vehicule for Drive-By");
		}
	}
}
when i compile show this error
ChrisDM.pwn(397) : warning 213: tag mismatch
Reply


Messages In This Thread
Anti-DB script help - by [SOB]Chris - 13.09.2009, 21:15
Re: Anti-DB script help - by [SOB]Chris - 13.09.2009, 22:00
Re: Anti-DB script help - by coole210 - 13.09.2009, 22:15
Re: Anti-DB script help - by [SOB]Chris - 13.09.2009, 22:21
Re: Anti-DB script help - by Blades - 17.09.2009, 13:10
Re: Anti-DB script help - by Finn - 17.09.2009, 13:32
Re: Anti-DB script help - by Zeex - 17.09.2009, 13:43
Re: Anti-DB script help - by Finn - 17.09.2009, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)