29.07.2016, 13:04 
	
	
	
		Hey, I am trying to create a command which sets the target player frozen and their drunk level, but I can not make this command work. What am I doing wrong?
	
	
	
	
Код:
CMD:syringe(playerid, params[])
{
	new id;
	if(sscanf(params, "ud", id)) return SendClientMessage(playerid, COLOR_GREY, "Usage: /syringe [ID]");
	
		if(!IsPlayerInAnyVehicle(playerid));
		{
		    TogglePlayerControllable(id, 0);
		    SetPlayerDrunkLevel(id, 10000);
		}
		else
		{
	    	SendClientMessage(playerid, COLOR_ORANGE, "You have to be on foot to use the syringe!");
		}
		return 1;
}


