08.01.2016, 10:20 
	
	
	
		Just want to use a cmd, if that player in a vehicle then he can use the CMD,
Also there will some more condition
Here i want
Now, my problem is, it shows no error or warning, but it don't work when i use this cmd. Like, if i am not in the car, it even don't show the point //1 line.
What should i do?
Any quick fix please.
	
	
	
Also there will some more condition
Here i want
PHP код:
CMD:das(playerid, params[])
{
    if(IsPlayerInAnyVehicle(playerid) && !PlayerInfo[playerid][pMember] == 10 && !PlayerInfo[playerid][pLeader] == 10 && !PlayerInfo[playerid][pJob] == 17 && !PlayerInfo[playerid][pJob2] == 17 && !PlayerInfo[playerid][pTaxiLicense] == 1)
    {
        SendClientMessage(playerid, -1, "You must be in any vehicle to use this command.");//1
        return 1;
    }
    ...Other codes.
    return 1;
} 
What should i do?
Any quick fix please.



