A little problem;
#1

Код:
if(newkeys & KEY_SECONDARY_ATTACK)
	{
    	if(IsPlayerInRangeOfPoint(playerid, 2.0, 1999.0267,-1993.7751,17.0041))
		{
            if(GetPlayerSkin(playerid)!=284 | 283) return SendClientMessage(playerid, COLOR_RED,"Error: {1E90FF}Nisi saobracajac.");
			ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "{1E90FF}Policija:", "Health\nArmour\nArmour + Kevlar\nPendrek\nSmoke Bomb\nDesert Eagle\nShotgun\nMP5\nM4a1\nSniper", "Ok!", "Cancel");
  		}
	}
the code;
Код:
if(GetPlayerSkin(playerid)!=284 | 283) return SendClientMessage(playerid, COLOR_RED,"Error: {1E90FF}Nisi saobracajac.");
If I'm in 284 or 283 skin, it still says error, but if I remove one and just let like only one skin(284) for example; it works;
how should I change "!=284 | 283) to make to both things work the dialog of weapons?
Reply


Messages In This Thread
A little problem; - by Aleksabre - 15.08.2015, 02:19
Re: A little problem; - by X337 - 15.08.2015, 02:25
Re: A little problem; - by Aleksabre - 15.08.2015, 02:29
Re: A little problem; - by X337 - 15.08.2015, 02:34
Re: A little problem; - by Aleksabre - 15.08.2015, 02:38

Forum Jump:


Users browsing this thread: 1 Guest(s)